[2024] React Native Firebase Authentication Google Login

preview_player
Показать описание
This is a react native expo firebase authentication video for both ios and android. I run into a few bugs and make a few mistakes, but thanks for watching. Please like the video and leave a comment if you found this video helpful!

00:00 Intro + Demo

00:20 Initial App Setup

02:06 Firebase Setup

3:58 Getting SHA-1 Key from Google Play console

6:02 Setting up Google sign in + react native firebase

13:08 Sign In function

19:57 On Auth State Change

24:10 Sign Out

26:18 IOS complete - Android setup

Packages install in the video:

@react-native-google-signin/google-signin

@react-native-firebase/app

@react-native-firebase/auth

expo-build-properties

Рекомендации по теме
Комментарии
Автор

Excellent video!!, thanks for the documentation. I hope your channel continues to grow.

fran
Автор

Thanks for the video! I have a question. Why create firebase auth ios app and firebase auth android app when you can just create firebase web app like you did in your previous video? Can you not do google login with firebase auth web app?

thegainschronicles
Автор

Hey Andrew.

I am new to Mobile App development and I am using your tutorial for Google Sign-In. When I accessed Play Console I got this prompt

You don't have access to production yet. To learn what you need to do before you can apply for production, visit the Help Centre. When you're ready, you can apply for production access on the Dashboard.

Any idea what should I do?

hassamkhan
Автор

why i am having error with isErrorWithCode becuase of that i cant move forward

AnsarShaikhCSUF
Автор

good day sir may I ask that if I add the "npx expo prebuild" it only create the android file and not the ios?

Unknown-hix
Автор

If you could also do a tutorial for setting up Deep links so that we can implement Magic Link auth with Firebase it would be great. The setup is confusing.

gibbersh-cw
Автор

do u have any idea where to get sha-1 and sha-256 fingerprint anywhere else? i cant get a gplay console account because of verification issues on google's end. I'm so tired of these issues

wywlf
Автор

If I'd like to use Firestore, do I then have to save the user to the Firestore for persistence?

andresAtMudra
Автор

i have a error Invariant Violation: 'RNGoogleSignin' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants", "LogBox", "SourceCode", "Timing", "AppState", "BlobModule", "WebSocketModule", "DevSettings", "DevToolsSettingsManager",

phamthehien
Автор

why the apk from expo 60mb for only hello world

أميرالمؤمنينبنمحمدأكرم
Автор

Hi Andrew, i did follow as same as you did but i am getting developer error. Error code 10. Do you know that how i can fix this ???? Moreover i got SHA-1 And SHA-256 from eas crediential. I have been trying different tutorials on SSO with google. But none of them worked from me, either its me the one who is facing this or may be there are many more like me. Do a favour can you view my code and help me to debug the reason why i am getting the ERROR CODE 10.

usmanghaniqureshi