Skip to main content
Answer

Superwall integration: Identifying users

  • February 5, 2025
  • 1 reply
  • 192 views

Forum|alt.badge.img+1

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!

Best answer by Haley Pace

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.

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • February 7, 2025

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.