Hello,
I upgraded from 2.0.0 to 3.0.0 and I getting an error when I am building the app
Error: The method 'logInWithReadPermissions' isn't defined for the class 'FacebookLogin'.
Please let me know how to resolve this issue
Thanks
This method has been changed. Try 'logIn'
Thank you.. I will try it and let you know
in flutter file, update function logInWithReadPermissionsto logIn. I set an example below.
var facebookLogin = new FacebookLogin();
List<String> permissions = ["public_profile"];
var result = await facebookLogin.logIn(permissions);
thanks
@roughike I ran into the same issue, as the example code is still referencing 'logInWithReadPermissions'. Can this be updated so it is clear the function was renamed?
Most helpful comment
in flutter file, update function
logInWithReadPermissionstologIn. I set an example below.