LA_
LA_

Reputation: 20409

Android: in-app product ID

How my in-app product ID should look like? If my application ID looks like com.example.test, then can I define product ID just as item? Or should it be com.example.test.item?

Upvotes: 11

Views: 11144

Answers (2)

st4rdog
st4rdog

Reputation: 113

To be clear, you use exactly what you typed when creating the product.

It could be "productname" or "com.company.app.productname" depending on what your typed in. See the image.

https://i.sstatic.net/3NJs3.jpg

Upvotes: 5

LA_
LA_

Reputation: 20409

Ok, I've tested that. Product ID should be unique within your application. So item can be used. Everywhere it will be reflected as com.example.test:item.

Upvotes: 8

Related Questions