-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook login missing button #414
Comments
@datpt11 @vanphuc1234 could you try with |
@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
![image 2024-06-18 08-39-07](https://private-user-images.githubusercontent.com/48908789/340513803-e7b2fc51-9819-40ad-beff-9fd2efa35839.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTM1NDAsIm5iZiI6MTczOTAxMzI0MCwicGF0aCI6Ii80ODkwODc4OS8zNDA1MTM4MDMtZTdiMmZjNTEtOTgxOS00MGFkLWJlZmYtOWZkMmVmYTM1ODM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDExMTQwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyN2Y4NjNlNjc3ZjQ1ZGRjYTc1ZjA5NzQzNTZjMjlmZjM0NzdjNmU3ODZhYTE0ODA4OGFkZmIyMTY0ZjJiYmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-pClopBFJFnGloVIXUI2Gt8C-BWUVGmnvLqyBbpnV5Y)
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
The text was updated successfully, but these errors were encountered: