How to fix Lost connection to device error with firebase PhoneNumberAuth in flutter

Posted by Jennifer | Updated on

In this example, I will share how to fix Lost connection to device error with firebase PhoneNumberAuth in flutter. POP removes the top level widget. Not sure its a good idea to put logic after that. Better you re-arrange your code like

Now only invoke SIGNIn, it will first get SMS code then signin using that SMS code. Hope it helps.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers