flutter_inapp_purchase
flutter_inapp_purchase copied to clipboard
Use Amazon SDK remote binary instead of local binary *.jar
Version of flutter_inapp_purchase: 5.3.1
Set of dependencies:
dependencies:
flutter:
sdk: flutter
flutter_inapp_purchase: ^5.3.1
purchases_flutter: ^4.0.0
Detail about the issue:
-
2 both library depend on Amazon In-app-purchase SDK:
-
purchases_flutter
is using version 3.0.3, which is now distributed in Maven. -
flutter_inapp_purchase
is depending on local binaryin-app-purchasing-2.0.76.jar
-
-
When I run command
flutter run
, I received the following error logs:- Duplicate class com.amazon.device.iap.model.UserDataResponse found in modules jetified-amazon-appstore-sdk-3.0.2 (com.amazon.device:amazon-appstore-sdk:3.0.2) and jetified-in-app-purchasing-2.0.76 (in-app-purchasing-2.0.76.jar)
- Duplicate class com.amazon.device.iap.model.UserDataResponse$RequestStatus found in modules jetified-amazon-appstore-sdk-3.0.2 (com.amazon.device:amazon-appstore-sdk:3.0.2) and jetified-in-app-purchasing-2.0.76 (in-app-purchasing-2.0.76.jar)...
-
For more information, please refer to this link
Could you update the Amazon SDK dependency to the newest version which was distributed in Maven?
@dtvtkien feel free to use this PR I just sent. But keep in mind, it is NOT fully tested, but you will be able to compile and run your app again.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.