Open mis0025033 opened 5 years ago
same problem. just solved that.
Hi Amao, Thank you for your solution, it works!!!
+1
It looks like this PR should fix the issue - https://github.com/roughike/flutter_facebook_login/pull/124
@amao where i can find this flutter_facebook_login.podspec so i can edit this file for me too.
@Anuraag93 .pub-cache can be found inside Flutter directory as a hidden folder. There you will find flutter_facebook_login files as well the .podspec one.
I am able to find flutter_facebook_login.podspec.json! Should I append the file? with: s.dependency 'FBSDKLoginKit', '4.39.1' s.dependency 'FBSDKCoreKit', '4.39.1' Please guide.. @amao , @E-Franco @mis0025033
@jeeali the related bug was fixed on version 2.0.1. I suggest you to update your pubspec. But if you still in earlier versions, make sure to set LoginKit and CoreKit to same version (4.39.1).
The project is work fine in Android, but it get error when i build the same project in xcode. I am using flutter_facebook_login 1.2.0
Following are the errors
/Users/builder/clone/ios/Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/FBSDKDeviceLoginManager.m:148:31: error: no known class method for selector 'extractPermissionsFromResponse:grantedPermissions:declinedPermissions:'
/Users/builder/clone/ios/Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/FBSDKDeviceLoginManager.m:151:67: error: no visible @interface for 'FBSDKAccessToken' declares the selector 'initWithTokenString:permissions:declinedPermissions:appID:userID:expirationDate:refreshDate:dataAccessExpirationDate:'