Question

Can an anonymous user with a subscription have multiple devices?

  • 19 August 2021
  • 2 replies
  • 28 views

Badge

Environment: iPadOS 14.

 

I understand that when an anonymous user reinstalls and deletes the app, caling Purchases.configure generates a new app ID, and when he calls restore, the purchase is transferred from his old anonymous ID to his new one.

 

What happens to an anonymous user’s ID if he buys a subscription on device A, then restores on device B.


Will device A still be logged in?


2 replies

Badge

Any updates?

Userlevel 2
Badge +6

Hey @Shawn Koh  :wave: ,

 

What happens to an anonymous user’s ID if he buys a subscription on device A, then restores on device B.Will device A still be logged in?

 

The behavior that occurs will depend on the type of restore behavior you have setup. Here our docs on Restoring Purchases.

I can explain each type of expected behavior:

Alias (legacy)  - If a user buys a subscription with an anonymous ID ( account A) and then restores with an identified user (account B) as long as they are logged in with the same underlying store account these two users will be merged together and both will have access to the subscription. 

 

Transfer - If a user buys a subscription with an anonymous ID ( account A) and then restores with an identified user (account B) as long as they are logged in with the same underlying store account the store receipt will transfer to account B and only account B will have access to the subscription. 

 

Black restores - If a user buys a subscription with an anonymous ID ( account A) and then restores with an identified user (account B) this will return an error. 

Let us know if this answered your question!

Reply