question

ssnannapaneni avatar image
ssnannapaneni asked

security profile for InApps

Hi , i have created two apps,one is free game and another one is paid game.Both games have In apps with same Ids. but when i want to create in app item for paid game the id is not takeing because that is the ID of free version. So is it possible to use Security Profile for both Apps to purchase In App items.
iap
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Ssnannapaneni, Thank you for posting. Every in app items are supposed to have unique sku name. So in Developer portal you can not define two in app items with the same sku name. Security profiles are not used by IAP sdk right now. Since you have two different apps (free and paid) with different package names so you should define the in app items prefixing the package name with the names in order to ensure the sku names are unique. e.g, You have two apps named app1 (com.example.app1) and app2 (com.example.app2). Now you have an item named testItem for sale in both the apps. So for packages like com.example.app1 and com.example.app2 you should define the sku name as com.example.app1.testItem and com.example.app2.testItem respectively. You can keep the name same of the item in both the apps as in app item names are not supposed to be unique. Hope this helps.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.