question

gaurav9986 avatar image
gaurav9986 asked

Not getting icon image in purchase pop up

Hi , I am trying to test my app wit SDK tester. I can see all the details but not icon image for an item (when purchase window pops up). All the cases are working fine. I am giving description of my json as it is. Also, want to know is it mandatory to give web address in "smallIconUrl" or I can give reference to some local image to device. In this what will be the path? Will it somthing "file:///mnt/sdcard/folder/image.png" or under data folder? ------------------------------------------------------------------ { "sku_1":{"itemType": "CONSUMABLE", "price": 0.99, "title": "Full Set of Lives", "description": "Live Recharge", "smallIconUrl": " http://searchengineland.com/figz/wp-content/seloads/2012/08/google-g-logo-2012.png"}, "sku_2":{"itemType": "CONSUMABLE", "price": 0.99, "title": "Small Pack of Ice Picks", "description": "Ice Pick - Small Pack", "smallIconUrl": ""} } -------------------------------------------- Thanks -Gaurav
iap
10 |5000

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

1 Answer

Bipin@Amazon avatar image
Bipin@Amazon answered
The SDK tester does NOT display the IAP item icon. Secondly in LIVE smallIconUrl is the link to the image which you have uploaded while adding in-app items in developer portal Rough Example: { "com.amazon.buttonclicker.subscription.1mo": { "description": "Click your button!", "subscriptionParent": "com.amazon.buttonclicker.subscription", "smallIconUrl": " https://s3-external-1.amazonaws.com/com-amazon-mas-catalog../..fc70.../...1331", "title": "Button Clicker", "itemType": "SUBSCRIPTION", "price": 0 } }
10 |5000

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