question

101apps avatar image
101apps asked

buttonClicker test app and json file - invalid SKU - a working json file

hi, not having used json before, i had no idea how to create a valid json file using the supplied sample (with commented out #) - so did some research on stackoverflow, and found this useful link to validate json files: http://jsonformatter.curiousconcept.com/ then fiddled around with my json file and eventually got the Button Clicker test app to work. so for those of you that are wasting prescious time getting your Button Clicking test app working, maybe this will help - here's the json file i used: { "com.amazon.buttonclicker.ten_clicks":{ "itemType":"CONSUMABLE", "price":0.99, "title":"More Clicks!", "description":"Click your button ten more times!", "smallIconUrl":"http://some/image.jpg" }, "com.amazon.buttonclicker.blue_button":{ "itemType":"ENTITLED", "price":0.99, "title":"Blue Button", "description":"Button Clicker - Now in Blue!", "smallIconUrl":"http://some/image.jpg" }, "com.amazon.buttonclicker.subscription.1mo":{ "itemType":"SUBSCRIPTION", "price":3.99, "title":"Button Clicker", "description":"Click your button!", "smallIconUrl":"http://some/image.jpg", "subscriptionParent":"com.amazon.buttonclicker.subscription" } }
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

101apps avatar image
101apps answered
hi just found out that there is a working copy of the json file in the assets folder of the ButtonClicker test app! now why was that not mentioned in the documentation? or was it and i just missed it? anyhow, would have saved me a lot of time! hope this helps someone cheers
10 |5000

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