Skip to main content

Hey, I am setting up Revenue Cat together with Superwall. I now created a custom purchase controller for superwall, according to their docs, that basically uses the RC SDK to handle purchases. I now want to identify users using our internal user UUID. The goal is that a subscription is tied to a user account and is active as soon as a user logs in on a new device. Do I have to login on Superwall AND RC? Or is Superwall enough and the information is passed on to RC?

In Flutter code:
 

// This?

Superwall.shared.identify(user.id);

await Purchases.logIn(user.id);

Or just this?

Superwall.shared.identify(user.id);

Thanks!

Hi, you’ll want to login to both as in the latter RevenueCat’s SDK will not be aware of the user id and will instead be using the app user id from when configure() was called.


Reply