In-app purchases on Amazon App Store don't work for many years, including your own sample projects. Possibly, it started since SDK 27.
On SDK 28 Android Studio for the code:
<receiver android:name="com.amazon.device.iap.ResponseReceiver"> <intent-filter> <action android:name="com.amazon.inapp.purchasing.NOTIFY" android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY" /> </intent-filter> </receiver>
shows the following warnings:
- Protecting an unsupported element with a permission is a no-op and potentially dangerous.
- Exported receiver does not require permission
PurchasingListener never receives any responses from Amazon App Store. (But that doesn't prevent Amazon from charging non-refundable money from the account.)
Please fix this problem in the official documentation and sample projects as soon as possible. And how can I make my application work with in-app purchases?
Some logs to prevent false answers:
D/MainActivity: onCreate: registering PurchasingListener D/Kiwi: In App Purchasing SDK - Production Mode: d: PurchasingListener registered: ...SamplePurchasingListener@f04508d D/Kiwi: In App Purchasing SDK - Production Mode: d: PurchasingListener Context: ...MyApp@99beb99