The only documentation I can find for testing in-app purchases is this, which instructs me to install the deprecated Amazon SDK Tester APK for Amazon's IAP 1.0, which seems like a bad idea.
我可以找到用于测试应用内购买的唯一文档,它指示我为亚马逊的IAP 1.0安装已弃用的Amazon SDK Tester APK,这似乎是一个坏主意。
I have the Amazon IAP ANE in Flash CS 6.
我在Flash CS 6中有Amazon IAP ANE。
I've tried installing Amazon's newer App Tester app and have downloaded and copied amazon.sdktester.json
with all our in-app items from Amazon to /root/sdcard/ on my Kindle Fire HD 7, but no callback is fired when I call the IAP API with AmazonPurchase.amazonPurchase.loadItemData( arrayOfIAPSkus );
.
我已经尝试安装亚马逊的新版App Tester应用程序,并已下载并复制了amazon.sdktester.json以及所有我们的应用内商品从亚马逊到我的Kindle Fire HD 7上的/ root / sdcard /,但是我打电话时没有回拨带有AmazonPurchase.amazonPurchase.loadItemData(arrayOfIAPSkus);的IAP API。
What am I doing wrong?
我究竟做错了什么?
1 个解决方案
#1
There are 2 tester apps:
有2个测试人员应用程序:
- Amazon SDK Tester - for testing IAP v1.0
- Amazon App Tester - for testing IAP v2.0
Amazon SDK Tester - 用于测试IAP v1.0
Amazon App Tester - 用于测试IAP v2.0
The Adobe AIR ANE is for Amazon IAP v1.0, so you should use Amazon SDK Tester.
Adobe AIR ANE适用于Amazon IAP v1.0,因此您应该使用Amazon SDK Tester。
Note: App Tester is not supported for IAP v1.0 and is incompatible with the SDK Tester tool included in the download for IAP v1.0. If your app uses both IAP v1.0 and Mobile Associates APIs, you will need to install/uninstall App Tester and SDK Tester to test your app locally as you work with each API set. If you upgrade to IAP v2.0, you will only need to have App Tester installed on your device.
注意:IAP v1.0不支持App Tester,并且与IAP v1.0下载中包含的SDK Tester工具不兼容。如果您的应用同时使用IAP v1.0和Mobile Associates API,则需要安装/卸载App Tester和SDK Tester,以便在使用每个API集时在本地测试您的应用。如果升级到IAP v2.0,则只需要在设备上安装App Tester。
#1
There are 2 tester apps:
有2个测试人员应用程序:
- Amazon SDK Tester - for testing IAP v1.0
- Amazon App Tester - for testing IAP v2.0
Amazon SDK Tester - 用于测试IAP v1.0
Amazon App Tester - 用于测试IAP v2.0
The Adobe AIR ANE is for Amazon IAP v1.0, so you should use Amazon SDK Tester.
Adobe AIR ANE适用于Amazon IAP v1.0,因此您应该使用Amazon SDK Tester。
Note: App Tester is not supported for IAP v1.0 and is incompatible with the SDK Tester tool included in the download for IAP v1.0. If your app uses both IAP v1.0 and Mobile Associates APIs, you will need to install/uninstall App Tester and SDK Tester to test your app locally as you work with each API set. If you upgrade to IAP v2.0, you will only need to have App Tester installed on your device.
注意:IAP v1.0不支持App Tester,并且与IAP v1.0下载中包含的SDK Tester工具不兼容。如果您的应用同时使用IAP v1.0和Mobile Associates API,则需要安装/卸载App Tester和SDK Tester,以便在使用每个API集时在本地测试您的应用。如果升级到IAP v2.0,则只需要在设备上安装App Tester。