I was wondering if it was possible to test Amazon IAP on a standard Android device (as in not a Kindle product).
I installed the SDK Tester.apk, as well as put the amazon.sdktester.json file in the root of my device. I ran the SDK Tester app and checked the Logcat to make sure it was loading properly. Sure enough, it was running. In the log were lines stating that the .json file was successfully read.
Next I opened up my app (which was built for the Amazon app store through the simulator build window) and launched an IAP. No login or confirmation screen came up, nor did the SDK Tester catch the IAP, as it was not in the"Active Transactions" window.
Has anyone had any success in doing this? I don’t own a Kindle product, nor do I want to have to go out and get one if my current device can suffice.
From what I can tell, I have the proper files in place, but I could be wrong. What do you guys suggest?
I just tried it again today and everything seems to be working. Perhaps the IAP were not in Amazon’s system yet, as it didn’t work for a few days after I first created the IAP.
The SDK Tester does not contact Amazon services. This is the whole point, a developer is able to integrate and test without even signing up at developer.amazon.com or registering their app first.
In any case, I am glad you got it to work. I have seen cases where the SDK tester did not work until after a reboot of the phone and other interesting cases, so it’s possible you experienced a fluke.
I just tried it again today and everything seems to be working. Perhaps the IAP were not in Amazon’s system yet, as it didn’t work for a few days after I first created the IAP.
The SDK Tester does not contact Amazon services. This is the whole point, a developer is able to integrate and test without even signing up at developer.amazon.com or registering their app first.
In any case, I am glad you got it to work. I have seen cases where the SDK tester did not work until after a reboot of the phone and other interesting cases, so it’s possible you experienced a fluke.
Thanks for writing, I have the developer account for Amazon but I cannot see how to get the tester files! I must be missing something obvious…any help is appreciated.
All is working quite well…as far as, debugging etc. My only issue is where on the android phone did you place the amazon.sdktester.json file? It seems pretty straightforward if I had a Kindle but alas, I don’t.
Thanks for writing, I have the developer account for Amazon but I cannot see how to get the tester files! I must be missing something obvious…any help is appreciated.