Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter Firebase Auth very slow

I'm creating a Flutter app with Firebase Authentication. It worked fine first, but now the authentication is super slow the first time. When the user authenticates (either with email or anonymous) the first time, it works fine the next time - sign-out works, re-signing works fine. It's the first time that is slow - it takes several minutes.

I have tried creating a new project in Firebase Console. I have tried upgrading to Blaze plan (from Spark). I have tried re-creating the project. Nothing seems to help.

Any ideas?

like image 270
Girts Strazdins Avatar asked Oct 16 '25 23:10

Girts Strazdins


1 Answers

It's the issue with the recent versions of Android Emulator on Windows platform. I was using the android emulator version 31.3.10 and had that problem.

Try downgrading the android emulator version to 31.2.9

Link to downgrade - https://developer.android.com/studio/emulator_archive

like image 130
Hisham Syed Avatar answered Oct 18 '25 16:10

Hisham Syed