Flutter Firebase Auth - The Cleanest & Fastest Way - IOS & Android

Flutter Firebase Auth - The Cleanest & Fastest Way - IOS & Android

Flutter Mapp

1 год назад

98,737 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Kevin K
Kevin K - 14.09.2023 21:10

It worked but I'm not sure how to navigate to the next screen when the user logs in. I used the code below before implementing the Firebase Auth.

Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const FrontPage()));

Ответить
Kenny EvL
Kenny EvL - 09.09.2023 06:37

i did everything and when i run the code the screen is just White

Ответить
Freeha Ali
Freeha Ali - 22.07.2023 15:18

Is there a project folder containing this code that I can use? Please link

Ответить
Huỳnh Đức Bùi
Huỳnh Đức Bùi - 18.07.2023 06:28

Hi Sir, thank you for great tutorial.
I have a question, should we declare Auth object outside of Build method to avoid creating multiple objects ?

Ответить
Αργυροκαστρίτης Ιωάννης - Σπυρίδων
Αργυροκαστρίτης Ιωάννης - Σπυρίδων - 15.07.2023 21:09

the code on the addfirebase SDK is different now in the first step it says To make the google-services.json config values accessible to Firebase SDKs, you need the Google services Gradle plugin.


Kotlin DSL (build.gradle.kts)

Groovy (build.gradle) and I can't find that specific line inside the gradle folder any help would be really appreciated.Thanks in advance

Ответить
Sports Fever
Sports Fever - 09.07.2023 21:57

Sir please guide me. I used the same method and upon restart the logged in user i directed to homescreen but when i delete a user(not from in app but firebase portal) and then restart the app the user(deleted) still remained logged in evern he is deleted from authentication portion by me.what to do to redirect him after he is deleted. thanks

Ответить
Ihsan Alalawi
Ihsan Alalawi - 07.07.2023 20:59

you should have added the main at the beginning not the end.
i wasted so much time looking for these 2 lines of code before seeing it at the end of the video

Ответить
Diego Naranjo
Diego Naranjo - 21.06.2023 02:44

I can'tget this code runs in VSC Flutter, always get an error, am stuck 5 days already, I have tried everything that is available in internet but nothing works.

Ответить
Osama obaid obo
Osama obaid obo - 17.06.2023 14:15

Flutter_auth_project not found what is it's alternative??

Ответить
Wanadi
Wanadi - 05.06.2023 22:06

Thank you so much, it helped me alot

Ответить
Karol Wiśniewski
Karol Wiśniewski - 01.06.2023 01:04

How to figure out error in xCode: Module 'firebase_auth' not found. It happen every time I create a new project and add this line of code:
firebase_core: ^2.13.1
firebase_auth: ^4.6.2
to the pubspec.yaml
the error shows even dont use firebase_auth in the code also if firebase_auth is in diffrent version

Ответить
Dino
Dino - 25.05.2023 14:11

Thank you! for those trying, make sure Dependencies are on the latest versions

Ответить
Jemjem Vermillion
Jemjem Vermillion - 24.05.2023 13:21

I got this Error
Error: Member not found: 'FirebaseAppPlatform.verifyExtends'.
firebase_app.dart:18
FirebaseAppPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^
Do u know what went wrong?

Ответить
Tanesha Simeon
Tanesha Simeon - 16.05.2023 03:51

absolutely love and prefer your videos!

Ответить
Redd
Redd - 16.05.2023 00:24

does the inputed email and password recorded into the firebase cloud?

Ответить
Harsha
Harsha - 15.05.2023 06:20

It doesn't perform login when I clicked login button but after I restart ide, it is logged into the homepage Please help me to figure it out ❤

Ответить
Nuno Silva
Nuno Silva - 10.05.2023 18:09

Great tutorial, however how could we do something similar but using Flutter's native routes (Navigator 2.0)?

Ответить
Beedoner
Beedoner - 22.04.2023 17:25

the code link is dead can you update it please ?

Ответить
It People
It People - 06.04.2023 23:30

amazing thanks

Ответить
LEGEND ALI
LEGEND ALI - 31.03.2023 13:13

Plz give me source code the link hot working

Ответить
rushikesh bagul
rushikesh bagul - 11.03.2023 02:50

source code link is not working can you please give me a github link

Ответить
Lights Out TAMIL
Lights Out TAMIL - 06.03.2023 14:23

Can you send me source code link

Ответить
Lights Out TAMIL
Lights Out TAMIL - 06.03.2023 14:22

Source code is not available

Ответить
Rahul N C
Rahul N C - 16.02.2023 12:32

I followed all the steps that you showed in the video, project is running, I tried to login with some random mail and password like you did in the video, but it is throwing an error. I'm running my project in chrome.

Ответить
aduku adah
aduku adah - 05.02.2023 19:38

Thanks, this really help

Ответить
Let me Flutter
Let me Flutter - 29.01.2023 05:16

Thank you

Ответить
Chad J
Chad J - 18.01.2023 15:12

Thank you, you're a life saver!

Ответить
USR
USR - 06.01.2023 10:11

Do we have a method in firebase to create a User ID without an email address or phone number? I mean super admin has the ability to assign a custom user ID and a default password to later reset it (e.g. user ID: ABCD1234 PWD: 12345).

Ответить
captcha1337
captcha1337 - 05.01.2023 02:49

Thank you for such video!
Most helpful i found so far.

Ответить
vaibhav acharya
vaibhav acharya - 27.12.2022 21:01

The best way of explaining..
& Thank you for putting source code link for reference

Ответить
Hemraj Tunwal
Hemraj Tunwal - 23.12.2022 19:12

how same code work with flutter web .kindly explain

Ответить
Hasinnnnn
Hasinnnnn - 19.12.2022 09:48

You can use the signOut() method to log a user out. There is no need to create a separate method for signing out because it’s just a single line of code : FirebaseAuth.instance.signOut();

Ответить
Sudip Bhattacharyya
Sudip Bhattacharyya - 17.12.2022 16:53

Phew!!! What a mind blowing video!!! Nobody taught me authentication in this way!!! THANKS! 🙂

Ответить
Monkey Games
Monkey Games - 03.12.2022 01:37

Absolutely killed it, clear and fast, love it! Forgot email confirmation

Ответить
UserT UserB
UserT UserB - 12.11.2022 19:13

lease ,
when I run flutterfire configure
i get this error message
Could not find bin\flutterfire.dart in package flutterfire_cli.

any suggestion please?

Ответить
GoFry
GoFry - 06.11.2022 16:58

This tutorial is more than a tutorial, we call it a masterpiece!

Ответить
xavier chukumah
xavier chukumah - 04.11.2022 15:20

best video

Ответить
Flutter Maker
Flutter Maker - 29.10.2022 05:34

very good tutorial

Ответить
Dinh Tien Dat
Dinh Tien Dat - 27.10.2022 11:45

This video teach me how i can make my code look more cleaner

Ответить
Jake
Jake - 13.10.2022 13:16

I thought i followed the whole thing correctly, however when i press register, it tells me the email adress is badly formatted. Any idea what i did wrong?

Ответить
Rohit Pariyar
Rohit Pariyar - 23.09.2022 15:57

How to register user with user details such as names, address, phone number etc rather than just email and password

Ответить
Seif el islam GUIZANI
Seif el islam GUIZANI - 23.09.2022 01:49

U haven't tested the code !

Ответить
VAIBHAV KHANNA
VAIBHAV KHANNA - 20.09.2022 22:08

This is a great video, and I am thankful for it, thank you very much

Ответить
VAIBHAV KHANNA
VAIBHAV KHANNA - 20.09.2022 21:22

plugins {
id 'com.android.application'

// Add the Google services Gradle plugin
id 'com.google.gms.google-services'

...
}
please help its showing this in case of plugins how to fix it

Ответить
Lim Kang Wei
Lim Kang Wei - 15.09.2022 04:22

I kept on having this error. After typing the email and password, and when I click on the register button/log in button, nothing happens.
W/System ( 9647): Ignoring header X-Firebase-Locale because its value was null.
D/TrafficStats( 9647): tagSocket(137) with statsTag=0xffffffff, statsUid=-1

Ответить
Nasser Diallo
Nasser Diallo - 11.09.2022 20:55

man... this tutorial is super awesome !!

Ответить
devsda1
devsda1 - 03.09.2022 10:03

There is an option to connect Flutter, why did you do Android and iOS separately?

Ответить
Andrew
Andrew - 17.08.2022 21:45

Does anyone know if there is a recommended way of doing auth with a custum api with token bearer, Im doing in in provider and save the token in both shared prefs and the provider itself but it seems so scuffed to be... besides i need to get the token every time i want to make a request... isnt there something like Axios for requests? ive seen axios package but doesnt look very popular/trustworthy is there any comparable package that saves token to every request automatically?

Ответить