Loading...
Loading...
Tie RevenueCat identity to your app's auth system. Use when the user asks to log in to RevenueCat, sync a user with RevenueCat, switch RevenueCat user on login, log out of RevenueCat, move a user from anonymous to identified, set appUserID, or handle account switching on iOS, Android, Kotlin Multiplatform, Flutter, or React Native.
npx skill4agent add revenuecat/ai-toolkit revenuecat-identify-userlogInlogOutintegrate-revenuecatrevenuecat-purchase-flowrevenuecat-entitlements-gatepackage.jsonreact-native-purchasesreact-nativeplatforms/react-native.mdexpopubspec.yamlplatforms/flutter.mdbuild.gradle.ktskotlin { … }com.revenuecat.purchases:purchases-kmp*platforms/kmp.mdbuild.gradle(.kts)com.android.applicationplatforms/android.mdPackage.swift*.xcodeproj*.xcworkspacePodfileplatforms/ios.mdios/logIn$RCAnonymousID:appUserIDlogInlogInlogInlogInCustomerInfocreated: BooleanlogOutlogOutPurchasesErrorCode.LogOutWithAnonymousUserErrorrestorePurchases()logIn(appUserID)restorePurchases()logOutlogInlogOut()logIn(newId)logInPurchases.configure(…)logInlogOutplatforms/ios.mdplatforms/android.mdplatforms/kmp.mdplatforms/flutter.mdplatforms/react-native.mdlogInlogOut$RCAnonymousID:logInlogOut