Build a Login page using Flutter and Firebase
ฝัง
- เผยแพร่เมื่อ 5 ธ.ค. 2021
- hello everyone
in this video, I'm going to show you how to add Firebase authentication to your flutter app.
by the end of this tutorial, you will be able to
- create a firebase project
- connect firebase to your flutter app
- creating a simple login system for your app
I hope that you will enjoy this video, if so don't forget to like and subscribe - วิทยาศาสตร์และเทคโนโลยี
登陆界面编写 0:42
TextField的控件使用 4:26
Icon 5:20
Text的使用 5:52
Container 7:24
RawMaterialButton 8:25
Firebase建立项目 10:08
注册移动包 10:28
得到项目中的build.grade中的applicationID 10:40
google-services.json放到项目(android\app)10:49
修改您的 build.gradle 文件(项目级 build.gradle) 11:15
*增加firebase 扩展 12:24
firebase_core
firebase_auth
初始化firebase 13:03
FutureBuilder使用 13:47
snapshot 14:06
CircularPressIndicator 14:22
*建立login function 14:43
FirebaseAuth 15:51
FirebaseAuthException 16:05
firebase中建立测试帐号 16:54
建立TextEditingController 17:50
cnPressed 用户登陆 19:10
loginUsingEmailPassword 19:50
成功跳转到个人信息页面 MaterialPageRote 20:06
ProfileScreen 20:13
Thank you sir, your Tutorial helped me a lot.
Thanks Bro It Helped Me A Lot
Very help full video thanks to doctor code keep update continues 😊😊👌👌 Thanku so much
thank you, I'm glad you've enjoyed it
Fiz o projeto passo a passo e deu certinho. Muito Top. Thank you doctor code!
Thankyou, wish you stay healthy
Thank you doctor code. Good job.
Thank you so much, it works
But pls make part 2 with sign up page
can you share your code here???
Thank you Doctor, you are amazing... would mind doing firebase notification with flutter for the next?
I'm planning to do that 😉
@@DoctorCode9 I appreciate you, Thank you.
Thank you 💯
Great video, thank you very much, it worked correctly!
I'm happy to hear that 😃
can you share your code or github link here??
Thank you !
Gracias! :)
it worked thank you. 😍💯
happy that it helped you
thanks for video
Thank you
thanks
I am getting an error after updating my pubspec yaml file as I have http ^0.12.2 dependency as well and after adding these firebase dependencies it throws an error.. any solutions pleaseee 🥺🤧😭
hey doc!
i m getting "getSelectedText on inactive InputConnection" error
could u resolve this?
thanks :)
hey doc, firebase sign up flutter when? :)
iiiiii loooovvvvveeee youuuuuu
For Android is baby level....
Can you help me?
I can't run the project, there is an error in the section FirebaseAppPlatform.verifyExtendeds(_delegate); (inline: 18)
Do you know why this is?
If you need to maintain the current dependency version, you can add the dependency override to your root pubspec.yaml to fix this too.
If you use multiple local packages in your project, this makes it so you don't have to update all your pubspec.yaml files
dependency_overrides:
firebase_core_platform_interface: 4.5.1
As of 10/6/22, there was an update with breaking changes. So you can run the following script to update your dependencies their next major versions.
flutter pub upgrade --major-versions
After adding this, run the following commands to update the iOS project's pods
cd ios && pod deintegrate
rm -f Podfile.lock
flutter packages get
pod install --repo-update
What if the user click on 'Don't remember your password'? Where does it redirect to?
does this still work as of today, 29th July 2023?
When I enter my email with password and press login button, it shows me the feedback.dart has an error of: return Future.value(); does it have any ways to solve the problem and enter the homepage?
The same thing happens to me, did you find any solution?
@@freddyarriagacruz8987 nope, i give up on doing this project
instance member "user" cant be accessed using static access. here I cant do anything. can you help me.
try to re run the app maybe there where a problem with the database connection, otherwise try to read the code clearly maybe you miseed something
can you help me?i having the problem the firebase undifinedd
Hey bro, I have a problem to create the line of the minute 13:21 . In the Line 40
i sew this "The body might complete normally, causing 'null' to be returned, but the return type is a potentially non-nullable type."
Sorry, i resolved this, but after in the await, saw this :
The method 'initializeApp' isn't defined for the type 'FirebaseApp'.
Try correcting the name to the name of an existing method, or defining a method named 'initializeApp'.
Ya lo resolvi xd
Done
@@gc-016moises6 i dont understand but I having the same problem which my firebaseapp are not defined
I have the same problem. Did you solve it?@@gc-016moises6
can you help me?
I'm doing the tutorial step right but always get exception on firebase.initializeApp when first running the firebase.
it says :
FirebaseApp firebaseApp = await Firebase.initializeApp();
"Exception has occured. Firebase ([core/not-initialized] Firebase has not been correctly initialized.
please, help me. I went to countless firebase tutorial and it always get the same error :(
try adding import 'package:firebase_core/firebase_core.dart'; at the top of your main.dart
I have the same problem. Did you solve it?
Could you share the source code ? It would help a lot.
I'll upload it on my GitHub tonight, but without the Google service file
@@DoctorCode9 sir, what is your git hub ?
Do you found the source code? Because i can't find it on his GitHub
And the register?
What is your pc or laptop specs?
ignoring header X-Firebase-Locale because its value was null?
13:02 For init firebase app
Last part not working, it doesn't navigating to profile screen page
same problem with me
hello. can you share link source code project git hub login firebase for flutter ? thank you
what shortcuts doctor code using during 0:39- 0:42 seconds
Hi doctor , i want to register please thanks
its not going to second screen can u help me?
14:31
And what if the user chooses forgot password
github me add kiya he code to link dalo na comments ma...
hi can i get source code?
It did not work.
did you receive an error message
@@DoctorCode9 yes
can i get source code
where the code
Could u share ur github name plsssssssssssssss
can you provide me all code?
did u get
hi , my web app and android emulator works fine but android apk file that installed on my android phone cant sign in or up this error pops up:[firebase_auth/unknown] com.google.firebase.j:an internal error has occurred.[json conversion failed! ] failed to parse error for string[ Error 403 (Forbidden)!!1 ...]
Thank you