Open tronghau2110 opened 5 months ago
I'm getting the same issue on ios, when on the webview it fails, but when using android and going to the native fb app for login, it works.
The solution?
@Azhun20 @Tameflame @tronghau2110 go to the permissions list page and check that you are not passing invalid or obsolete permissions
@Azhun20 @Tameflame @tronghau2110 go to the permissions list page and check that you are not passing invalid or obsolete permissions
If it was permission issue then I think it should also give error on android but its not the case, my android app is working fine, I am able to login but on iOS it is giving this error
What version are you using?
flutter_facebook_auth: ^7.0.1
What OS and version are you using to local deploy your application?
MacOS 14.1.1
What platforms are you seeing the problem on?
iOS
pubspec.yaml
Describe the Bug
When I login facebook with permissions, it created bug as image. How do fix it? lib: facebook_auth_flutter 7.0.1 loginPermission=[ "email", ,"user_videos" , "manage_pages" ,"user_posts" ,"public_profile" ,"pages_manage_engagement" , "pages_read_engagement" , "pages_manage_metadata" ,"pages_show_list" ,"pages_manage_posts" , "manage_pages" ,"pages_messaging" , "publish_pages" , "pages_messaging"
final loginPermission = permission ?? _remoteConfigService.facebookOption.permissions;
final LoginResult loginResult = await _auth.login( loginBehavior: isWebBehavior ? LoginBehavior.webOnly : LoginBehavior.nativeWithFallback, permissions: loginPermission ..removeWhere( (f) => f == 'manage_pages' || f == 'publish_pages', ), );
Expected Behavior
I can login facebook
To Reproduce
When I login facebook with permissions, it created bug as image. How do fix it? lib: facebook_auth_flutter 7.0.1 loginPermission=[ "email", ,"user_videos" , "manage_pages" ,"user_posts" ,"public_profile" ,"pages_manage_engagement" , "pages_read_engagement" , "pages_manage_metadata" ,"pages_show_list" ,"pages_manage_posts" , "manage_pages" ,"pages_messaging" , "publish_pages" , "pages_messaging"
final loginPermission = permission ?? _remoteConfigService.facebookOption.permissions;
final LoginResult loginResult = await _auth.login( loginBehavior: isWebBehavior ? LoginBehavior.webOnly : LoginBehavior.nativeWithFallback, permissions: loginPermission ..removeWhere( (f) => f == 'manage_pages' || f == 'publish_pages', ), );
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