Android: in-app product ID
How my in-app product ID should look like? If my applic开发者_如何学JAVAation ID looks like com.example.test, then can I define product ID just as item? Or should it be com.example.test.item?
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.
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.
http://i.imgur.com/5hKdziE.jpg
精彩评论