i'm currently using flutter_facebook_login 2.0.1. But for some user the app crashed when they try to login with facebook. This is the stack trace that we see in the google logs:
Caused by: java.lang.IllegalStateException: at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply (DartMessenger.java:124) at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success (MethodChannel.java:204) at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.finishWithResult (FacebookLoginResultDelegate.java:58) at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.onCancel (FacebookLoginResultDelegate.java:43) at com.facebook.login.LoginManager.finishLogin (LoginManager.java:703) at com.facebook.login.LoginManager.onActivityResult (LoginManager.java:245) at com.facebook.login.LoginManager$1.onActivityResult (LoginManager.java:174) at com.facebook.internal.CallbackManagerImpl.onActivityResult (CallbackManagerImpl.java:92) at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.onActivityResult (FacebookLoginResultDelegate.java:53) at io.flutter.app.FlutterPluginRegistry.onActivityResult (FlutterPluginRegistry.java:222) at io.flutter.app.FlutterActivityDelegate.onActivityResult (FlutterActivityDelegate.java:142) at io.flutter.app.FlutterActivity.onActivityResult (FlutterActivity.java:142) at com.chatetyamo.MainActivity.onActivityResult (MainActivity.java:40) at android.app.Activity.dispatchActivityResult (Activity.java:6510) at android.app.ActivityThread.deliverResults (ActivityThread.java:3710)
Hi,
i'm currently using flutter_facebook_login 2.0.1. But for some user the app crashed when they try to login with facebook. This is the stack trace that we see in the google logs:
Caused by: java.lang.IllegalStateException: at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply (DartMessenger.java:124) at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success (MethodChannel.java:204) at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.finishWithResult (FacebookLoginResultDelegate.java:58) at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.onCancel (FacebookLoginResultDelegate.java:43) at com.facebook.login.LoginManager.finishLogin (LoginManager.java:703) at com.facebook.login.LoginManager.onActivityResult (LoginManager.java:245) at com.facebook.login.LoginManager$1.onActivityResult (LoginManager.java:174) at com.facebook.internal.CallbackManagerImpl.onActivityResult (CallbackManagerImpl.java:92) at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.onActivityResult (FacebookLoginResultDelegate.java:53) at io.flutter.app.FlutterPluginRegistry.onActivityResult (FlutterPluginRegistry.java:222) at io.flutter.app.FlutterActivityDelegate.onActivityResult (FlutterActivityDelegate.java:142) at io.flutter.app.FlutterActivity.onActivityResult (FlutterActivity.java:142) at com.chatetyamo.MainActivity.onActivityResult (MainActivity.java:40) at android.app.Activity.dispatchActivityResult (Activity.java:6510) at android.app.ActivityThread.deliverResults (ActivityThread.java:3710)
Could someone please help with this issue?
Best regards Gervais