oijusti / react-native-firebaseui-auth Goto Github PK
View Code? Open in Web Editor NEWEasily add sign-in to your React Native app with FirebaseUI
License: MIT License
Easily add sign-in to your React Native app with FirebaseUI
License: MIT License
Hi I just installed this package and when i run the app on my device I get the following error:
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find any matches for com.twitter.sdk.android:twitter-core:3.+ as no versions of com.twitter.sdk.android:twitter-core are available.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/twitter/sdk/android/twitter-core/maven-metadata.xml
- file:/Users/user/.m2/repository/com/twitter/sdk/android/twitter-core/
- file:/Users/user/repos/app/android/App/node_modules/react-native/android/com/twitter/sdk/android/twitter-core/maven-metadata.xml
- file:/Users/user/repos/app/android/App/node_modules/jsc-android/dist/com/twitter/sdk/android/twitter-core/maven-metadata.xml
- https://dl.google.com/dl/android/maven2/com/twitter/sdk/android/twitter-core/maven-metadata.xml
- https://www.jitpack.io/com/twitter/sdk/android/twitter-core/maven-metadata.xml
Required by:
project :app > project :react-native-firebaseui-auth
any ideas? I don't even need the twitter implementaton
Thanks
Hi, i want to use this lib, but when i try to run example in iOS i can't
I follow steps in README.md but i catch this error: "Module 'FBSDKCoreKit' not found".
Do exists any additional step not listeted on the README.md?
After integrating Facebook auth for Android, Facebook developer console gives a warning that SDK needs to be upgraded. Following change gets rid of the warning:
--- node_modules/react-native-firebaseui-auth/android/build.gradle-orig 2020-08-13 16:31:42.000000000 -0400
+++ node_modules/react-native-firebaseui-auth/android/build.gradle 2020-08-13 16:31:52.000000000 -0400
@@ -49,7 +49,7 @@
// Required only if Facebook login support is required
// Find the latest Facebook SDK releases here: https://goo.gl/Ce5L94
- implementation 'com.facebook.android:facebook-android-sdk:4.+'
+ implementation 'com.facebook.android:facebook-android-sdk:[5,6]'
// Required only if Twitter login support is required
// Find the latest Twitter SDK releases here: https://goo.gl/E5wZvQ
Are there reasons not to make this change?
Email sign in works, but when I try to sign in with Google, I'm getting a toast "Code: 10, Message: 10:" and nothing happens.
Thanks for this package!
Is it possible to allow only sign in, but not sign up? Or is there any way to achieve this with this package?
after npm install, and pod install i getting this error also the library not found for -lFBSDKLoginKit
i have added to my podFile
pod 'FirebaseUI'
pod 'FBSDKCoreKit', :modular_headers => true
and after pod install the frameworks are installed
Installing FirebaseUI (4.1.1)
Installing FBSDKCoreKit 12.1.0
but there are not visible in my project.
i have removed all modules and package-lock, pods and reinstall it again, but no success.
What should i do next to make it work?
Seems to be similar to #38
In Podfile I have
use_frameworks! :linkage => :static
use_modular_headers!
pod 'FirebaseUI'
I'm developing a react-native application. I've added a custom token to a user's firebase authentication. Is it possible to retrieve that custom token information using react-native-firebaseui-auth? Or is it possible to access the user accessToken?
RNFirebaseuiAuth.m doesn't contain an anonymous provider.
I'm using FirebaseUI 12 and get this error when trying to run my React Native app:
FirebaseUI/FirebaseEmailAuthUI.h' file not found
#import <FirebaseUI/FirebaseEmailAuthUI.h>
Does this work with the latest FirebaseUI pod?
I know on the Android side on the FirebaseUI Auth activity result you can check if the user was a new signup or not. Are you able to do that somehow with iOS? I don't know if the same API is supported but if so it would be nice to pass that data through to the callback so I can do something special in my app if the sign-in created a new user.
I'm getting a strange error trying to use this on my new M1 Mac.
node_modules/react-native-firebaseui-auth/ios/RNFirebaseuiAuth.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-firebaseui-auth' from project 'Pods')
Did I do something wrong?
Hi, thanks for module! It will be nice if there in config will be some UI configs such as background Image , color, something like that
Great project. I see it doesn't support Apple sign-in though. I may open a PR for this with the fixes but wanted to first file an issue.
When signin has an error we call Promise resolve. This makes the application logic a little bit more complex, as it needs to check for failure inside Promise.then(). It seems Promise.reject would make more sense:
--- RNFirebaseuiAuthModule.java 2020-08-12 21:10:31.000000000 -0400
+++ RNFirebaseuiAuthModule.java 2020-08-16 00:47:56.000000000 -0400
@@ -137,7 +137,8 @@
try {
WritableMap resultData = new WritableNativeMap();
resultData.putString("success", "false");
- signInPromise.resolve(resultData);
+ resultData.putInt("code", resultCode);
+ signInPromise.reject("101", "code " + resultCode /*resultData*/);
} catch (Exception e) {
e.printStackTrace();
signInPromise.reject("101", e.getMessage());
To trigger failure one could just try to cancel signIn. I tested it on android but I assume ios has the same logic. Look for to your comment. Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.