-
Hello, We are currently migrating our app from a native Kotlin/Swift implementation to React Native. However, we are encountering an issue where users are being logged out after updating the app. In our native Android app, we used firebase_bom = "33.1.1" (auth version 23.0.0). As part of the migration, we are now using React Native Firebase 20.4.0, which relies on Firebase Auth 10.29.0 for iOS and firebase_bom = "33.1.2" for Android. Would you have any insights into why users are being disconnected after updating the app? This issue is significantly impacting our users. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I don't understand why you would be doing a migration, but migrating to old versions? There were some issues with deserializing user status on iOS that were fixed in current versions (that is, firebase-ios-sdk 11.7.0+ - the most current version as of now). I'm not aware of issues on Android, no one has mentioned any at least. I have no particularly special insight into either though, sorry. I can say that react-native-firebase uses the exact same native SDKs so users should be recognized |
Beta Was this translation helpful? Give feedback.
-
Thanks for you answer, For iOS it seems that react native does not use same caching system as the iOS native |
Beta Was this translation helpful? Give feedback.
-
Hello @mikehardy thanks for taking the time to answer |
Beta Was this translation helpful? Give feedback.
This is an assertion that defies the evidence.
firebase-ios-sdk is on 11.7.0, firebase-android-sdk is on 33.8.0. Both are contained in the most recent react-native-firebase release. Consult the changelog -> https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md
it appears to me you are migrating to an old version.
This is an assertion and requires evidence. firebase-ios-sdk is still doing the same thing under the covers inside react-native-firebase as it was doing in whatever Swift code you had. I believe it uses the user's…