-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can`t receive credential-already-in-use from linkWithCredential on Android #1701
Comments
@barbarosh thanks for this, this is still pending a RN change/PR; facebook/react-native#20940 Without this change I can't send extra data with errors across the RN bridge; I'd have to rewrite all the modules to never promise #1329 #1385 also have the same issues. Feel free to tag in on the RN PR to keep an eye on it. Sorry this is probably not the answer you're looking for 🙈 |
@Salakar My problem not related to facebook/react-native#20940
user is present |
Urgh sorry - I'm exhausted & misread parts of this, still So what you're saying is the I see you're on v4.3.8 - if it was working before on this version I'd imagine you've potentially updated the Android SDK version for auth in your build gradle and something there has changed the behavior perhaps ( We have several |
@Salakar yes compileSdkVersion updated from 26 to 27 and build tools for react-native 0.57 |
@Salakar I reviewed your docs and I decided upgrade rnfirebase, I think problem in react-native 0.57 and rnfirebase 4.3.8 |
There were issues with an RN 57 change causing things not to clear in dev between RN Reload/Hot reloading/Live Reloading (such as auth state - so things could become non responsive or be in an old auth state), can you try disabling those, fully quitting your app then opening it and testing that auth flow (without triggering a Reload). If it works then it's definitely that issue - v5.1 addresses those issues: https://rnfirebase.io/docs/v5.x.x/release-notes#Authentication (first point in auth) |
It not related to reload js, because I have this bug in production build |
@Salakar after update rnfirebase problem is resolved |
@barbarosh ok that's good to hear that upgrading sorted your issue. For clarification for others coming across this issue could you note which versions you upgraded to? Thanks Loving
|
JS lib "react-native-firebase": "5.1.0" ANDROID
iOS (all modules 5.11.0)
|
@barbarosh thank you |
Issue
I have code which should authtentificate user if it already exists or link to anonymous
it work fine before but now i can
t receive error auth/credential-already-in-use and I don
t know why, I think maybe after somewhere updateProject Files
Android
android/build.gradle
:android/app/build.gradle
:Environment
10.12.6
N/A
N/A
Android Studio 3.2
React Native
version:0.57.1
React Native Firebase
library version:4.3.8
Firebase
module(s) you're using that has the issue:TypeScript
?N/A
ExpoKit
?ExpoKit
N/A
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on TwitterThe text was updated successfully, but these errors were encountered: