Menu

Mapping Supabase Auth user IDs to RevenueCat without granting the wrong person’s access
📰

Mapping Supabase Auth user IDs to RevenueCat without granting the wrong person’s access

DEV Community: capacitor·AppContinuity·9 days ago
#9yWS7Y7t
#devtocapacitor#devto#dev#revenuecat#user
Long article (1104 words) — no AI summary yet.
Reading 0:00
15s threshold

This article was first published on AppContinuity .

Official RevenueCat docs already cover generic identifying customers. This piece is about the exact stack: a React app wrapped with Capacitor, people signing in with Supabase Auth, subscriptions already on Stripe for the web, and RevenueCat deciding the same entitlement on iPhone and Android — without handing the next person on the phone someone else’s premium.

It pairs with why a Stripe subscriber hits a Capacitor paywall : that article is the web-to-app mismatch; this one is the identity wiring that has to be correct first.

The failure mode

You configure RevenueCat early. A $RCAnonymousID:… appears. Someone buys, or a Stripe subscription is later attached to the wrong id. Or you call logIn with an email. Or you sign out of Supabase and leave RevenueCat identified.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.