Giter Club home page Giter Club logo

react-native-firebaseui-auth's People

Contributors

achuinard avatar dependabot[bot] avatar mjsirisha88 avatar oijusti avatar oleksandra-holovina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-firebaseui-auth's Issues

Installation fails to run the app

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

Run iOS example error

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?

Should facebook Android SDK version be bumped up?

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?

Can't sign in with Google

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.

'FirebaseUI/FirebaseUI.h' file not found

after npm install, and pod install i getting this error also the library not found for -lFBSDKLoginKit
Screenshot 2021-11-22 at 10 12 43

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?

get custom token information

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?

Working with latest FirebaseUI pod?

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?

Can't build app

I'm not sure what else would help debug this, but here is a screenshot of the error log

image

Pass isNewUser?

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.

M1 issues?

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?

Change background

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

No Apple auth

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.

Promise.reject instead of resolve on failure

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.