Skip to main content
Solved

 allowSharingPlayStoreAccount


Forum|alt.badge.img+6

 Hey, 

 

Just got the following warning while debugging restore purchase method: 

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?

 

Just wondering what the allowSharingPlayStoreAccount is and if we need to do anything with it? Doesn’t seem to be any mention on the restore purchases docs page. 

 

cheers

 

James 

Best answer by tina

Hi @Golfify 

This was an old behavior in the SDK, which you can see in v3.1 of the docs: https://docs.revenuecat.com/v3.1/docs/configuring-sdk#android Copying for convenience: 

When TRUE, if a new user tries to purchase a product that is already active on the current Play Store account, this will treat it as a restore and alias the App User Ids together. Defaults to TRUE if the current App User Id is anonymous, and FALSE if you've provided an App User Id.

It sounds like you’re on an older version of the Purchases SDK, I recommend updating to the latest release. 

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

7 replies

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • Answer
  • January 24, 2022

Hi @Golfify 

This was an old behavior in the SDK, which you can see in v3.1 of the docs: https://docs.revenuecat.com/v3.1/docs/configuring-sdk#android Copying for convenience: 

When TRUE, if a new user tries to purchase a product that is already active on the current Play Store account, this will treat it as a restore and alias the App User Ids together. Defaults to TRUE if the current App User Id is anonymous, and FALSE if you've provided an App User Id.

It sounds like you’re on an older version of the Purchases SDK, I recommend updating to the latest release. 


Forum|alt.badge.img+2
  • New Member
  • 1 reply
  • February 5, 2022

Hello, I have the same error in purchases_flutter 3.9.3 

 ⚠️ 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
I/[Purchases] - INFO(  679): 😻💰 Purchase history retrieved skus: …

 

 


Forum|alt.badge.img+3
  • New Member
  • 2 replies
  • February 22, 2022

The error message shows up on purchases_flutter 3.9.4 as well


Forum|alt.badge.img+1
  • New Member
  • 3 replies
  • February 23, 2022

I confirm as well I see the same warning with purchases_flutter 3.9.4.


SendGroupSMS
Forum|alt.badge.img

I am also facing the same error in purchases_flutter 3.9.4 


  • New Member
  • 1 reply
  • October 16, 2023

I’ve specified my purchases_flutter version as ^5.0.0 and I saw this warning today. An updated version of purchases_flutter does not solve the issue.

Message while running Flutter app on Android emulator:

W/[Purchases] - WARN( 6292): ! 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

This message links you to https://errors.rev.cat/allowsSharingPlayStoreAccount which currently redirects to https://www.revenuecat.com/v3.1/docs/configuring-sdk#android (where I only see a blank page).


Forum|alt.badge.img+2
  • Member
  • 5 replies
  • February 24, 2024

I see the exact same warning with purchases_flutter version 6.21.1, which is the latest version to date. So I can’t figure out how to add a Restore button to my custom paywall.


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