Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用内商品 ID 应该是什么样子?如果我的应用程序 ID 看起来像com.example.test,那么我可以将产品 ID 定义为item吗?还是应该是com.example.test.item?
好的,我已经测试过了。产品 ID 在您的应用程序中应该是唯一的。所以项目可以使用。它在任何地方都会反映为com.example.test:item。
需要明确的是,您使用的正是您在创建产品时键入的内容。
它可能是“productname”或“com.company.app.productname”,具体取决于您输入的内容。请参见图片。
http://i.imgur.com/5hKdziE.jpg