react-native-in-app-utils icon indicating copy to clipboard operation
react-native-in-app-utils copied to clipboard

[Question] How purchaseProductForUser really works?

Open lucianomlima opened this issue 7 years ago • 5 comments

I've implemented the purchaseProductForUser for a monthly subscription, and I'm passing firebase user UID. But when I change the user in app (but keep the same iTunes account on device), which has another UID, I can restore the previous user's purchases.

The purchaseProductForUser and restorePurchasesForUser methos works per iTunes account? Or does passing different UID to the same iTunes account should work properly?

lucianomlima avatar Nov 06 '17 15:11 lucianomlima

Some one?

lucianomlima avatar Feb 14 '18 17:02 lucianomlima

The purchaseProductForUser and restorePurchasesForUser methos works per iTunes account?

As far as I know, purchases are linked to iTunes account.

NachtRitter avatar Feb 15 '18 08:02 NachtRitter

Then what is the purpose of the purchaseProductForUser if using different username will get products from same account without restriction?

lucianomlima avatar Feb 18 '18 22:02 lucianomlima

@lucianomlima I'm seeing the same issue. restorePurchasesForUser restores all purchases and not for just the userId given.

superandrew213 avatar Jun 26 '18 10:06 superandrew213

@RalfNieuwenhuizen is this still working for you? I can see that you added this feature.

superandrew213 avatar Jun 26 '18 10:06 superandrew213