Skip to main content

In the <app_user_id>absence of anonymity, Apple Account 1 subscribes to a product, and at this time, exit Apple Account 1 and log in to Apple Account 2, at which time Apple Account 2 will inherit the product subscribed to by Apple Account 1. Resuming in-app purchases won't do anything either. I would like to ask how to solve this problem. If this is the case, an Apple account that has subscribed to the product can be used by other Apple accounts without a subscription. This is a very serious problem, please tell me how to do it, thank you!

Hi @Frank,

Please let me know if I understood the issue correctly:

You don’t use custom app_user_id.

  • User with Apple account 1 (A1) downloads the app
  • A1 purchases the subscription
  • Without deleting the app, A1 in the same device logs out of Apple account and logs in as another account (A2).
  • Keeps using the app and the subscription keeps being applied.

Is this the issue?

A2 won’t inherit any subscription in their account. You could try to do `syncPurchase` and see the result of that. The best way of course would be to apply a random UUID for every account and set it as app_user_id. That way we can match an id to a certain Apple account.