Skip to main content

I am taking an app implemented in Flutter from iOS and Android to Amazon Appstore. It seems to work also on Amazon apart from that Revenuecat does not recognize when I offer a free trial in the beginning of a subscription on Amazon. (On Google Play and Apple App Store it works without problem.) And I know that there indeed is a free trial enabled, because when I click the subscription the Amazon window tells me so too.

Please make sure that RevenueCat do recognize free trials on subscriptions on Amazon when using Flutter.

Hello @joshdholtz @cody , 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.comb0: 140.82.121.3]: errno=Operation timed out

 


Sounds good @joshdholtz, I look forward to the new release!


@Björn Hey! I _think_ this should be fixed in Flutter v5 (which is currently in beta).

I have a pull request that added support for this here - https://github.com/RevenueCat/purchases-android/pull/884. This pull request is in the native Android SDK v6 which will get used in Flutter v5 when that gets released. 

I’m hoping to get this new Flutter version out in the next week or two so this should be fixed for you then!


Hey @Björn!

Sorry you’re having trouble here! Could you try submitting a ticket from our dashboard so that we can take a look at this specific transaction? Be sure to mention the user ID, as well as this post so we already have some context 😃


Reply