Closed mikezliu closed 2 years ago
Hey @mikezliu! Can you send over the receiver entry in the merged AndroidManifest.xml that is failing? It looks like this is a requirement for Android 12: https://stackoverflow.com/a/68648841
<receiver
android:name="com.amazon.device.iap.ResponseReceiver"
android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY" >
<intent-filter>
<action android:name="com.amazon.inapp.purchasing.NOTIFY" />
</intent-filter>
</receiver>
You could also set targetSDK to 31 on your sample project to see the error
Hey @mikezliu! Thanks for the heads up- are you able to manually modify the entry to include the exported property? Like:
<receiver
android:name="com.amazon.device.iap.ResponseReceiver"
android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY"
android:exported="true">
<intent-filter>
<action android:name="com.amazon.inapp.purchasing.NOTIFY" />
</intent-filter>
</receiver>
I've went ahead and logged this as a bug on our end. We'll update this issue when we have more information on a fix.
For now I've set compile SDK to 31, and target SDK to 30, since most amazon devices don't support SDK 31 yet
Hey @mikezliu this should be fixed in the latest amazon alpha release, 5.0.0-amazon.alpha.4. I'm going to close this ticket for now, but feel free to re-open if you're still experiencing issues.
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.
Describe the bug When trying to compile with target SDK 31 (Android 12) with the amazon revenuecat gradle dependencies, there is a build error about the merged maniphest missing android:export
Additional context Add any other context about the problem here.