Open datpt11 opened 5 months ago
I'm facing the same issue, with flutter_facebook_auth 6.0.3, even after upgrading to 7.0.0. In my situation, I want to request these permissions: [ 'public_profile', 'email', 'pages_show_list', 'pages_manage_metadata', 'pages_messaging', 'pages_read_engagement', 'pages_read_user_content', 'pages_manage_engagement', ]. After selecting the Facebook account and navigating to the "Select facebook page" screen as shown in the photo below, the "Next" button to navigate to the next step does not appear
@datpt11 @vanphuc1234 could you try with flutter_facebook_auth:7.0.1
?
@vanphuc1234 Have you solved it yet? I also have a similar problem
I upgraded to 7.0.1 but it still doesn't work, I can't change the login behavior either. I had to uninstall the Facebook app to switch to Facebook login mode using the browser @darwin-morocho
I did the trick by removing fbapi in LSApplicationQueriesSchemes so that when I log in, it automatically falls back to logging in to Facebook via the web browser. :))
What version are you using?
flutter_facebook_auth: 6.0.2 facebook: 468.0.0 ios: 17.5.1
What OS and version are you using to local deploy your application?
Apple M1 Pro
What platforms are you seeing the problem on?
iOS
pubspec.yaml
Describe the Bug
When I log in via the fb app, I get an error
Expected Behavior
This is the missing button part
To Reproduce
Future login() async {
final Map<String, String> params = <String, String>{};
await FacebookAuth.instance.logOut();
final LoginResult result = await FacebookAuth.instance.login(permissions: [
"public_profile",
"email",
"pages_manage_metadata",
"pages_read_engagement",
"pages_show_list",
"pages_read_user_content",
"pages_manage_posts",
"pages_manage_engagement",
"pages_messaging",
"ads_read",
"page_events",
"instagram_basic",
"instagram_manage_messages",
"instagram_manage_comments",
"pages_show_list",
"ads_management",
"catalog_management",
'business_management'
]); // by default we request the email and the public profile
var locale = TranslationProvider.of(view.getContext()).flutterLocale;
FacebookAuth.instance.autoLogAppEventsEnabled(false);
Codec<String, String> stringToBase64 = utf8.fuse(base64);
if (result.status == LoginStatus.success) {
...
}
}
Relevant log output
No response
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response