Skip to main content
Question

Switching accounts on iOS still grants VIP status.

  • November 13, 2025
  • 1 reply
  • 19 views

Forum|alt.badge.img

After integrating RevenueCat into Unity, I conducted a test using a sandbox account. After logging into a sandbox account with VIP status in the game, when I switched the account in the iOS background, the game still showed VIP status. My game does not have its own account; it's a mini-game. Is there a solution to this? Is this normal?

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • November 17, 2025

Hi, it sounds like what is happening here is that you are switching underlying store accounts but not switching the RevenueCat app user id after. As such the user will still have the VIP status. To fix this you can call logOut() when the app is backgrounded and then syncPurchases() when the app is foregrounded, doing this will create a new RevenueCat app user id and will restore any purchases currently on the user’s store account. You can also do this when the app starts up incase the user changes underlying store accounts when the app is closed. 

Note that doing this could create a lot of anonymous app user ids and this wouldn’t really be a common case in production. Also if the user does end up switching Apple accounts they would have already purchased with the previous account.