Комментарии:
Auth.signInWithGoogle not working . Please help
ОтветитьThank You sir! The video was very helpful.
ОтветитьThanks for the video. Please consider mixing ur audio better it is scratchy and base is missing and to many high frequency.
ОтветитьHow to use custom tflite model for prediction?
ОтветитьHello sir,
i am unable to use signInWithGoogle method please help me
Plugin with id 'com.google.gms:google-services' not found. plz help me
ОтветитьThanks for your tutorial it was very helpful, Can you help me to get the current logged in user I had tried using FirebaseAuth.instance.currentUser() and also tried by use listener onauthstatechanges
Ответить1
I am getting “Plugin with id 'com.android.application' not found” plz a solution
The method 'signInWithGoogle' isn't defined for the class 'FirebaseAuth'.
Try correcting the name to the name of an existing method, or defining a method named 'signInWithGoogle'.
error: The method 'signInWithGoogle' isn't defined for the class 'FirebaseAuth'. (undefined_method at [flutter5] lib\main.dart:18) . How to solve it?
ОтветитьYou need to provide SHA-1 key while registering your project for Google Sign in
ОтветитьsignInWithGoogle option not available now, please update the code
ОтветитьThe .method 'signInWithGoogle' isn'tdefined for the class 'Firebaseauth'..this error is showing after running..what is the solution sir?
Ответитьnot working
ОтветитьPlatformException(FirebaseException, An internal error has occurred. [ API key not valid. Please pass a valid API key. ], null.
This error is coming while execution and ust showing error signin help me solve it.
Bhai ye signInWithGoogle prblm a raha h
ОтветитьIt show this method is not in firebaseauth
ОтветитьIs this method is good for production app??
Ответитьbro your method is old now and not working.....
Ответить_auth.signInWithGoogle is no longer working with latest firebase_auth so here how I deal with it
Future<bool> loginWithGoogle() async {
try {
GoogleSignIn googleSignIn = GoogleSignIn();
GoogleSignInAccount account = await googleSignIn.signIn();
if (account == null) {
return false;
}
AuthResult result = await _auth.signInWithCredential(
GoogleAuthProvider.getCredential(
idToken: (await account.authentication).idToken,
accessToken: (await account.authentication).accessToken));
if (result.user == null) {
return false;
}
print('User Name: ${result.user.displayName}');
return true;
} catch (e) {
print('Failed to login with Google');
return false;
}
}
If someone is having trouble with the missing "signInWithGoogle" method, use this:
GoogleSignInAccount googleSignInAccount = await signIn.signIn();
GoogleSignInAuthentication googleSignInAuthentication = await googleSignInAccount.authentication;
final AuthCredential credential = GoogleAuthProvider.getCredential(
accessToken: googleSignInAuthentication.accessToken,
idToken: googleSignInAuthentication.idToken,
);
FirebaseUser user = (await auth.signInWithCredential(credential)).user;
This method is not working as I tried it. Here follows the code that is working. It seems that they have changed something.
GoogleSignInAccount signInAccount=await googleSignIn.signIn();
GoogleSignInAuthentication googleSignInAuthentication=await signInAccount.authentication;
final AuthCredential authCredential=GoogleAuthProvider.getCredential(idToken: googleSignInAuthentication.idToken, accessToken: googleSignInAuthentication.idToken);
FirebaseUser firebaseUser=(await _auth.signInWithCredential(authCredential)).user;
How can I integrate Google sign in option on my flutter project without any disturbance to the original flutter project
ОтветитьBro which theme r u using...?
Or its Custmized....?
How to auto login everytime whenuser opens app?
ОтветитьFirebase is free? if not
Is there any alternative like mongodb
Less costly and free secure at same time
Thanks for the clear and helpful explanation! learned alot.
ОтветитьBrohh....please help us out with setting up the Google play games service(GPGS).......!
Ответитьstop teaching people by copy pasting code
ОтветитьI am facing erorr like properties and gradle exception error in app level gradle build,
can you help me.
signInwithGoogle is not defined for class firebase auth error coming what to do
Ответитьwhat version of jdk you use in this video?
ОтветитьFacebook login
ОтветитьIt's a request to make a video on phone authentication.
ОтветитьPlease recreate this series
Ответить2021 den. Teşekkür ederim , çok işime yaradı.
ОтветитьFirebaseUser has been changed to User
AuthResult has been changed to UserCredential
GoogleAuthProvider.getCredential() has been changed to GoogleAuthProvider.credential()
onAuthStateChanged which notifies about changes to the user's sign-in state was replaced with authStateChanges()
currentUser() which is a method to retrieve the currently logged in user, was replaced with the property currentUser and it no longer returns a Future<FirebaseUser>
how to save this data so when we back to our app the url and data will not show null??
ОтветитьI'm getting an error that FirebaseUser isn't defined
ОтветитьReally amazing 5✨✨✨✨✨✨✨ superb thanks a lot😊😊💖
ОтветитьFuture is giving this error: The name 'FirebaseUser' isn't a type so it can't be used as a type argument.
ОтветитьThe method 'signInWithGoogle' isn't defined for the type 'FirebaseAuth'. Please help me with this issue !!!!
ОтветитьThe code actually didn't work for me as many lines were throwing error cuz keywords regarding firebase keep updating as per the time, but i'd say the method worked! Cheers for the method. Good🥂🥂
ОтветитьCan I anyonee know the font name he is using for editor?
Ответитьwatching this in 2023 mid. You're just a savior. These explanations get right into head.
Ответить