Skip to main content
Question

Ser anonymous alias or search customer by custom field

  • January 10, 2026
  • 1 reply
  • 29 views

Forum|alt.badge.img+4

Is it possible to log in users anonymously?

Currently we are facing an issue. We user Firebase in our apps and in order to send notifications we need to store push tokens in our database. So, we sign in users anonymously to Firebase, and then we can store this info under their user ID.

The problem arises when we then call Revenuecat’s login function. We do this so that if a user contact’s us we can match them between Firebase ID abd Revenuecat.

However, the problem arises in that now Revenuecat treats the user as signed in. So, same user trying to access the app on two devices will not be able to do so, as the purchase is constantly transferred from one user to the other.

Hence a question - is there a way to provide anonymous alias? So that we can search users by their firebase id, but tell Revenuecat “this one is not signed in, so apply anonymous behavior to purchases transfers”.

Alternatively, this could be sorted by allowing us to search customer by their user properties. We could set “FirebaseID” property, and theb use that to search for users without having to sign in users through revenuecat’s sdk.

1 reply

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • January 14, 2026

Hi ​@andriyG,

Thank you for your post!

Doing a syncPurchase on a fresh install would merge both customers into one, fixing the issue of constantly transferring the purchases from one to another and instead they’ll share it.

One question that came to my mind is why using the firebase anonymous id rather than using the RevenueCat anonymous id into Firebase. That way you’d be able to match 1:1 from Firebase to RevenueCat.

Let me know if this helps!