Web development basic and advance tutorial, php basic tutorial, laravel basic tutorial, React Native tutorial

Wednesday, April 14, 2021

Firebase Authentication using Google, Facebook and Email-Password Log-In React Native

0 comments

 React Native Firebase facebook login

Facebook provide an official React Native library which wraps around the native Facebook SDKs to enable Facebook sign-in.

Before getting started, ensure you have installed the library, configured your Android & iOS applications and setup your Facebook Developer Account to enable Facebook Login.

Ensure the "Facebook" sign-in provider is enabled on the Firebase Console.

Once setup, we can trigger the login flow with Facebook by calling the logInWithPermissions method on the LoginManager class:


get start to install this component https://www.npmjs.com/package/react-native-fbsdk-next

Install the library

using either Yarn:

yarn add react-native-fbsdk-next

or npm:

npm install --save react-native-fbsdk-next

2. Link

  • React Native 0.60+


https://rnfirebase.io/auth/social-auth

No comments:

Post a Comment