Skip to main content
Solved

Login user with different apple id


Forum|alt.badge.img+3

I have two users, A and B with different RC app user id’s.  They both have a subscription with their own apple id’s.  How do we handle the situation when user A logs into their account but on user B’s phone with user B’s apple id on the device?

What happens if user A’s subscription is expired and they’re logged in on user B’s device when they have different apple id’s?  

How can I tell that the user A is not associated with user B’s apple id?

Do we need to only allow login on the device with the users corresponding apple id?

Best answer by Miguel Carranza

Hi Matthew,

 

Managing identity is different for every app. It seems that you have your own account system, in which case I would suggest you set the restore behavior to block. That should be more than enough to accomplish what you want.

 

This means, that if user B is trying to restore a purchase using user A (Apple ID’s A), it won’t get transferred. It will remain associated to A. If a renewal comes in for A, it will never be registered to B, but for A. 

 

However, if you set the behavior to “transfer purchases”, you might end up moving subscriptions from one user to the other when restoring purchases. You can find more information about it here.

 

 

View original
Did this post help you find an answer to your question?

3 replies

Miguel Carranza
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 84 replies
  • Answer
  • October 28, 2022

Hi Matthew,

 

Managing identity is different for every app. It seems that you have your own account system, in which case I would suggest you set the restore behavior to block. That should be more than enough to accomplish what you want.

 

This means, that if user B is trying to restore a purchase using user A (Apple ID’s A), it won’t get transferred. It will remain associated to A. If a renewal comes in for A, it will never be registered to B, but for A. 

 

However, if you set the behavior to “transfer purchases”, you might end up moving subscriptions from one user to the other when restoring purchases. You can find more information about it here.

 

 


Forum|alt.badge.img+3

Thank you for you reply.  Is there a way to know when there is a mismatch of apple ID’s?  like your example:

 “if user B is trying to restore a purchase using user A (Apple ID’s A), it won’t get transferred. It will remain associated to A. If a renewal comes in for A, it will never be registered to B, but for A.“

Is there a way I can tell when user A is logged in but on user B apple ID?  That way I could show different UI explaining to the user that they need to be logged into their apple ID they created the subscription for.


Miguel Carranza
RevenueCat Staff
Forum|alt.badge.img+6

No, I don’t think there is an easy way to do it proactively. I think your best bet would be capturing the error when you see RECEIPT_ALREADY_IN_USE and react to it. https://www.revenuecat.com/docs/errors#-receipt_already_in_use


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings