RevenueCat / react-native-purchases

React Native in-app purchases and subscriptions made easy. Support for iOS and Android.
https://www.revenuecat.com
MIT License
773 stars 84 forks source link

Question: Is it okay to call logIn multiple times (with the same user id)? #1114

Closed markwitt1 closed 3 weeks ago

RCGitBot commented 4 weeks ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

aboedo commented 3 weeks ago

yeah, it's okay. if you call log in with the same appUserID, the SDK only refreshes customerInfo for the user and returns the updated info

aboedo commented 3 weeks ago

Source on iOS for reference

mshmoustafa commented 3 weeks ago

@markwitt1 Since your question has been answered, I closed this issue. Please feel free to reopen it if you have any follow-up questions or open a new issue for unrelated questions.