I have used the latest version of purchase_flutter (3.9.3) but when I want to use Amazon, the parameter useamazon isn't recognized by Android studio. Any idea how to get it work?
Best answer by Andy
View originalI have used the latest version of purchase_flutter (3.9.3) but when I want to use Amazon, the parameter useamazon isn't recognized by Android studio. Any idea how to get it work?
Best answer by Andy
View originalHey
I am currently facing an issue while trying to implement the RevenueCat SDK in a Flutter project for the Amazon App Store. I have followed the documentation provided for integrating RevenueCat with Flutter, but I am encountering errors during the process. (https://www.revenuecat.com/docs/flutter#amazon-appstore)
Issue:
The problem arises when I add the RevenueCat SDK dependencies to my Flutter project as instructed in the documentation. After adding these dependencies, running flutter run results in errors.
Code:
purchases_flutter:
git:
url: git://github.com/revenuecat/purchases-flutter.git
ref: amazon.alpha.3
Error:
Git error. Command: git fetch
stdout:
stderr: fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Operation timed out
No cached Offerings, fetching from network
I/System.out(30553): [OkHttp] sendRequest>>
I/System.out(30553): [OkHttp] sendRequest<<
D/[Purchases] - DEBUG(30553): ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3A257b41a303c143c8bace4c34f2ad4c97
D/[Purchases] - DEBUG(30553): ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3A257b41a303c143c8bace4c34f2ad4c97 304
D/[Purchases] - DEBUG(30553): ℹ️ PurchaserInfo updated, sending to listener.
I/System.out(30553): [okhttp]:check permission begin!
I/System.out(30553): [okhttp]:not MMS!
I/System.out(30553): [okhttp]:not Email!
I/System.out(30553): [OkHttp] sendRequest>>
I/System.out(30553): [OkHttp] sendRequest<<
D/[Purchases] - DEBUG(30553): ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3A257b41a303c143c8bace4c34f2ad4c97/offerings
D/[Purchases] - DEBUG(30553): ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3A257b41a303c143c8bace4c34f2ad4c97/offerings 304
D/c (30553): In App Purchasing SDK - Sandbox Mode: sendGetUserDataRequest
D/ProfileInstaller(30553): Installing profile for com.wowooapps.ai.avatar.maker
I/ai.avatar.make(30553): Compiler allocated 4379KB to compile void android.view.ViewRootImpl.performTraversals()
Hey
purchases_flutter 3.9.3 doesn’t have support for Amazon Store.
Our Amazon Store support is currently in a pre-release stage, and you can set it up by using the version tagged amazon-latest
and following the instructions here:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.