Hey @Shawn Koh
,
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!