Thank for good content , i am starting flutter and i not have too much knowledge about flutter backend but your teaching method is really good and how to create function and make too much easy to understand the concept and really this is only one channel that provide good content and again thank you for playlist , i learn my things from your playlist..😊😊
hello brother, my best experience with flutter has been with your tutorials, but i haven't been able to solve this error "UserModel.fromSnapShot", in the user model how can it be fixed?
Try debugging the code to identify where the null value is coming from. Once you locate the source of the null value, you can fix the error accordingly.
@@CodingwithT The reason for the error is this code( email.text = localStorage.read('REMEMBER_ME_EMAIL'); password.text = localStorage.read('MEMBER_ME_PASSWORD');) how can I fix this
In my case, I read localStorage and the value is null. So I remove this line inside onInit() login_controller.dart: email.text = localStorage.read('REMEMBER_ME_EMAIL'); password.text = localStorage.read('REMEMBER_ME_PASSWORD'); Or you can add try & catch
Sir I have a question when I click on Google button then it show the login emails in my device but when I choose any email then instead of navigate to NavigationMenuScreen its navigating to LoginScreen.............. and after this when I close the app and open it again then first screen NavigationMenuScreen appears........................need help sir
get the credentials of account which you have selected and then send user credentials to screen redirect method. It will then check is user verified then it automatically logged you in and redirect to home screen. if (user.emailVerified) { // Initialize User Specific Storage await TLocalStorage.init(user.uid); Get.offAll(() => const HomeMenu()); }
Hello Sir, When I click on Google Icon Button doesn't do anything it wants me to set "android:enableonbackinvokedcallback =true" in application manifest but when I add it also doesn't work help me if there is another way
hello,i have a question. i sign up using yahoo account. so in this tuto, i tried to login using gmail account (which doesnt exist in firestore). by right, i am not able to login cause the account doesnt exist for this app, but i could login, and the weird part is, i am logged in as the yahoo profile. do you have any idea on why does this happen ? thank you !!
despite i made the sha to google sign in when i click on it it shows a popup and i choose an account then it stop loading and throw "sign in failed please try again" please help
@@CodingwithT yes it's enabled thé problem when i tapped thé command in terminal it shows error keystore format invalid so i tried to generate a keystore file in android/app and i got the keys then i paste its in firebase and same thing please help
Hello sir, After I click on Google button and chose an account I get error snocker which is " sign_in_faild, please try again" that show in TPlatformException, how I can solve it?
This happens mostly in iOS cases. If this is your case then you are missing code in info.plist file Edit this info.plist which is in the iOS folder of your flutter project. Add this: -- Put me in the [my_project]/ios/Runner/Info.plist file --> CFBundleURLTypes
Thank you for pointing that out. You can check if a user is new or not in the Authentication repository, specifically in the screen Redirect function. There, the necessary logic for determining if the user is new or returning is implemented. If you have any further questions or need clarification, feel free to ask!
To implement a logout function, you can use Firebase authentication methods like signOut() to log the user out. Additionally, you can call Get.offAll() to navigate back to the login screen or any other desired destination.
Thank for good content , i am starting flutter and i not have too much knowledge about flutter backend but your teaching method is really good and how to create function and make too much easy to understand the concept and really this is only one channel that provide good content and again thank you for playlist , i learn my things from your playlist..😊😊
You are most welcome 🤗. And All the best 👍😁
I saw Geolocation in the profile screen. I wonder if you will cover this in this tutorial series?
Sure, Thank you for your suggestion. I will create a video on it
Why did the user name and email data fetch and display in the profile screen? Please answer my question.
hello brother, my best experience with flutter has been with your tutorials, but i haven't been able to solve this error "UserModel.fromSnapShot", in the user model how can it be fixed?
The following _TypeError was thrown building TSocialButtons(dirty):
type 'Null' is not a subtype of type 'String' how to i fixxed it is error
Try debugging the code to identify where the null value is coming from. Once you locate the source of the null value, you can fix the error accordingly.
@@CodingwithT The reason for the error is this code( email.text = localStorage.read('REMEMBER_ME_EMAIL');
password.text = localStorage.read('MEMBER_ME_PASSWORD');) how can I fix this
Did u find the solution
In my case, I read localStorage and the value is null. So I remove this line inside onInit() login_controller.dart:
email.text = localStorage.read('REMEMBER_ME_EMAIL');
password.text = localStorage.read('REMEMBER_ME_PASSWORD');
Or you can add try & catch
Sir I have a question when I click on Google button then it show the login emails in my device but when I choose any email then instead of navigate to NavigationMenuScreen its navigating to LoginScreen.............. and after this when I close the app and open it again then first screen NavigationMenuScreen appears........................need help sir
get the credentials of account which you have selected and then send user credentials to screen redirect method. It will then check is user verified then it automatically logged you in and redirect to home screen.
if (user.emailVerified) {
// Initialize User Specific Storage
await TLocalStorage.init(user.uid);
Get.offAll(() => const HomeMenu());
}
Hello Sir, When I click on Google Icon Button doesn't do anything it wants me to set "android:enableonbackinvokedcallback =true" in application manifest but when I add it also doesn't work help me if there is another way
Can you please intergrate the same project with a laravel backend, so we can now how to do both firebase and laravel
This channel is focused only on Flutter videos, so Laravel integration won't be covered here.
What if I have an isAdmin parameter in the UserModel class how do I save user record?
Please watch the current on going Flutter Admin Panel Course to handle roles
hello,i have a question. i sign up using yahoo account. so in this tuto, i tried to login using gmail account (which doesnt exist in firestore). by right, i am not able to login cause the account doesnt exist for this app, but i could login, and the weird part is, i am logged in as the yahoo profile. do you have any idea on why does this happen ? thank you !!
This happens because Firebase uses the UID tied to the email. To fix, check the user's email/UID before logging in, or clear cached credentials.
Sir animations and expectations file upload kar di ap ne starter kit ma ?
Yes uploaded ☺️
"The argument type 'Future' can't be assigned to the parameter type 'UserCredential?' " What should I do? Thank you for your tutorials.
Have you added async and await?
@@CodingwithT I fix it, thank you very much.
it didn't work for me it stop loading and show a snack bar an unexpected error any help?
same here
i think i have a problem, whenever i press the sign in with google button on iPhone the app just crashes, it works perfectly fine on android .
There are few modifications required for iOS that I'll share in a comment.
despite i made the sha to google sign in when i click on it it shows a popup and i choose an account then it stop loading and throw "sign in failed please try again" please help
Did you enable Google authentication in firebase?
@@CodingwithT yes it's enabled thé problem when i tapped thé command in terminal it shows error keystore format invalid so i tried to generate a keystore file in android/app and i got the keys then i paste its in firebase and same thing please help
When We sign in using GOOGLE with already registered email ,it override the previous data .
Hi! Please add a check to see if the email is already registered before signing in with Google. This will prevent overriding the previous data.
Hello sir, After I click on Google button and chose an account I get error snocker which is " sign_in_faild, please try again" that show in TPlatformException, how I can solve it?
Ensure that your Firebase project is properly configured for Google sign-in. Make sure the SHA-1 and SHA-256 keys are added to your Firebase project.
Yes I am sure @@CodingwithT
Have you solved this error ? Can you please share it ?
@@mohammedabduraboal-haig9179 same problem, let me know if you solved it please
Whenever I click on the google sign in logo, the app keeps shutting down. What to be done?
This happens mostly in iOS cases.
If this is your case then you are missing code in info.plist file
Edit this info.plist which is in the iOS folder of your flutter project.
Add this:
-- Put me in the [my_project]/ios/Runner/Info.plist file -->
CFBundleURLTypes
CFBundleTypeRole
Editor
CFBundleURLSchemes
com.googleusercontent.apps.861823949799-vc35cprkp249096uujjn0vvnmcvjppkn
Also make sure that you don't have 2 CFBundleURLTypes in your info.plist
@@CodingwithT It is still crashing.
Do the fresh restart
@@CodingwithT Done sir, and rechecked the code thrice still same issue
You didn't show How do I check if it's a new user or not
Thank you for pointing that out. You can check if a user is new or not in the Authentication repository, specifically in the screen Redirect function. There, the necessary logic for determining if the user is new or returning is implemented. If you have any further questions or need clarification, feel free to ask!
sir please tell us how to do logout function
To implement a logout function, you can use Firebase authentication methods like signOut() to log the user out. Additionally, you can call Get.offAll() to navigate back to the login screen or any other desired destination.
i didn't get the fingerprint for sha it always show me invalid keystore format what's the solution please ?
Big love my brother
How you create the fingerprints? Do each step again hopefully your error will be resolved. If not, you can contact me on my whatsapp
its very difficult.. how we will learn it 😩😩 feeling de-motivated
Which part dear? Let me know if you need any help.
Thank a lot.
Welcome 😊
Can you plz at least upload exception file 🙏
It's uploaded in the free starter kit
❤❤❤❤
when clicking on the google button. it opens the google pop up. and when i select my email id . it throws error.
Did you give SHA1 and SHA256 to your firebase project?