Hey everyone,
I’m integrating the Meta SDK with RevenueCat and I have a question about how to handle FBAnonymousID.
Right now, I grab the FBAnonymousID from the Meta SDK and then pass it manually into the RevenueCat SDK in my code. From what I understand, this value is generated per device.
In my login flow, I set the appUserId in RevenueCat based on a value from my backend.
Here’s the part I’m not sure about:
-
When a user logs in, I update the
appUserIdin RevenueCat. -
The FBAnonymousID, however, stays the same (since it’s tied to the device).
My question is: is it okay that different RevenueCat users on the same device share the same FBAnonymousID? Or should I be re-generating a new one during the login process to avoid mixing analytics?
Has anyone else run into this or figured out the best practice?
