expressLogin method

Future<LoginResult> expressLogin()

Express login logs people in with their Facebook account across devices and platform. If a person logs into your app on Android and then changes devices, express login logs them in with their Facebook account, instead of asking for them to select a login method.

This avoid creating duplicate accounts or failing to log in at all. To support the changes in Android 11, first add the following code to the queries element in your /app/manifest/AndroidManifest.xml file. For more info go to https://developers.facebook.com/docs/facebook-login/android

Implementation

Future<LoginResult> expressLogin() => _authPlatform.expressLogin();