Solved

 allowSharingPlayStoreAccount

  • 24 January 2022
  • 5 replies
  • 143 views

Badge +3

 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 

icon

Best answer by tina 24 January 2022, 19:35

View original

5 replies

Userlevel 5
Badge +10

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. 

Badge +1

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: …

 

 

Badge +2

The error message shows up on purchases_flutter 3.9.4 as well

Badge

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

I am also facing the same error in purchases_flutter 3.9.4 

Reply