Skip to main content
Solved

Amazon not working on flutter

  • 18 February 2022
  • 5 replies
  • 160 views

Forum|alt.badge.img+3

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

Hey @Dao Ibrahim Dao, 

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: 

https://docs.revenuecat.com/docs/flutter#amazon-appstore

View original
Did this post help you find an answer to your question?

5 replies

Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 236 replies
  • Answer
  • February 25, 2022

Hey @Dao Ibrahim Dao, 

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: 

https://docs.revenuecat.com/docs/flutter#amazon-appstore


Forum|alt.badge.img+1

Hey @Andy, I have similar problem.

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

 


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 236 replies
  • January 24, 2024

@dogukan-nefis-143e4e that error seems to be tied to git itself not being able to fetch the SDK? does cloning the repo (https://github.com/revenuecat/purchases-flutter) manually work for you? 


Forum|alt.badge.img+1

@Andy thank you for answer. Yes manuall worked however we are getting new error.

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()

 


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 236 replies
  • January 29, 2024

@dogukan-nefis-143e4e could you clarify what’s the issue? The output you shared doesn’t seem to include any errors in it. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings