Skip to main content
Question

Detect Google Play not available in Russia, Belarus or China

  • October 15, 2024
  • 1 reply
  • 16 views

Fewlaps
Forum|alt.badge.img+6

We successfully integrated Flutter’s RevenueCat SDK on Google Play and the App Store for mobile devices, and Stripe on the web. It’s a good approach and RevenueCat made it easier than expected. Thanks for it!

Now, our next challenge is to provide our users a way to subscribe to our service via Stripe where Google Play is not available. For example, in China, I think there are devices without Google Play and the ones that have it installed, can’t access Google. Or in Rusia and Belarus, according to this post, they have Google Play but the billing service is disabled.

Given the RevenueCat SDK is properly initialized, how can we detect Google Play payments won’t work, so we can show a paywall that uses our Stripe integration instead of the regular Google Play one?

This post has been closed for comments

1 reply

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 262 replies
  • October 17, 2024

Hi! The RevenueCat SDK has the canMakePayments method, which checks if billing is supported for the current user


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