-
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
🔥signInWithCredential() uncaught NSInvalidArgumentException #1993
Comments
I'm experiencing the same on both Android and iOS. |
I've changed the
and it fixed the issue allowing me to catch and handle the exceptions at the right link of the promises chain as expected (at least on Android - I haven't tested on iOS). |
Closing issue as it has since been resolved in later RN versions. |
Issue
Project Files
iOS
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
ADD_SOMETHING_HERE
e.g. iOS 10 or Android API 28N/A
N/A
ADD_SOMETHING_HERE
e.g. Xcode 10, Android Studio 3.2React Native
version:ADD_SOMETHING_HERE
React Native Firebase
library version:ADD_SOMETHING_HERE
Firebase
module(s) you're using that has the issue:TypeScript
?N/A
ExpoKit
?ExpoKit
N/A
Hi,
I'm trying to use react-native-firebase and starting off with authentication, but when trying to call signInWithCredential(), I experienced this uncaught exception, and the .catch() or try/catch blocks are not catching them in JS.
firebaseAuth = userId => { try{ firebase.auth().signInWithCredential(userId).then(data => console.warn(data)).catch(function(error){ console.warn(error)}) } catch(err) { console.warn(err) } };
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: