flutter dismiss dialog doesn't close after facebook login dialog
First of all, There is Flutter Facebook Login sdk bug.
Upgrade: There is no facebook bug. There ise flutter bug. Because same bug exists on Google Sign.

I'm use Facebook login sdk on flutter page.

Click FacebookLogin button.

1- show custom progress dialog: showDialog()
2- await facebook login
3- close progress dialog. 

But dialog doesn't close.

How to fix:
Run the close dialog method twice.

Sample Code:
showDialog(bla bla...);
await final result = await facebookLogin.logIn(['email']);

closeDilaog() {
Navigator.of(currentContext, rootNavigator: true).pop();    


Author: Engin ATALAY
Date: 30.01.2021 14:00:09
View Count: 582

No comments yet. Be the first to comment who you are.
Your Name :
E-mail :
Your Message :
This project : ASP.NET MVC , RAZOR, Entity Framework , CSS , HTML , JQUERY(2.0.2) , AJAX the C# side-tier architecture was developed with logic.
Yukarı Çık