Skip to main content
Question

Flutter - Google Play automatically restores purchases

  • August 5, 2022
  • 1 reply
  • 76 views

Forum|alt.badge.img+1

I using Flutter SDK and have some problems with Google play.

for example I have 2 device A and B using the same google play account

  • I install app and purchase subscription on device A
  • when I install app on device B, Google Play automatically restores purchases (appUserId on device A and B is not the same)

So how can I prevent device B automatically restores purchases. 

 

I setup with revenuecat with appUserId like that: 

Purchases.setup(Constants.googleApiKey, appUserId: userId)

When running on device B, I have a log like that: “WARN: ⚠️ allowSharingPlayStoreAccount is set to false and restorePurchases has been called. This will 'alias' any app user id's sharing the same receipt. Are you sure you want to do this? More info here: https://errors.rev.cat/allowsSharingPlayStoreAccount

1 reply

Forum|alt.badge.img+3
  • Member
  • 6 replies
  • October 20, 2022

did you find any solution?😥


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