Question

Logging in users after they have already got an anonymous account

  • 4 March 2022
  • 1 reply
  • 22 views

Badge +1

Hi there,
I have realised that due to a bug in my code, I have not been logging in all users.
As we are in the internal testing phase, this is not such a big issue.
However, once the app is released it might become a problem, as users who created accounts during internal testing need to use the same app accounts. These users have not been logged into RevenueCat but are just anonymous users.

My question pertains to the RevenueCat representation of these users. Is it an issue that the user who has been an anonymous user during internal testing (no purchases taking place), be logged in in RevenueCat?

 

Thank you, and sorry for the somewhat confusing question!
 


1 reply

Userlevel 6
Badge +8

Hey @Lyno Academy!

Typically, if a user has an anonymous ID, we’ll pair that with a custom ID once the user is identified with a logged-in ID. If there were purchases made, a user will always have access to their purchases after restoring purchases.

Ultimately, there shouldn’t be an issue with signing in an anonymous ID later on. Does that make sense? Once the user is logged in, we should automatically pair the anonymous ID with the new ID.

Reply