-
Notifications
You must be signed in to change notification settings - Fork 58
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
Changes made to the Facebook Login SDK for iOS #151
Comments
@rdlabo Android works fine as you can see from this screenshot but iOS asks me about a "limite" api which i never heard about. Rolling back to 5.0.3 fixes the iOS issue. |
Hihi, had the same issue but once I accepted Apple's ATT permission it defaulted back to the normal login flow instead of limited. Maybe you can try https://github.com/mahnuh/capacitor-plugin-app-tracking-transparency to enable the prompt which worked for me. |
I have the same problem. How did you solve it? @ciccilleju |
disabling facebook login at the moment |
let me try it and I'll get back to you edit: It works, thank you !!! |
What happens if the user does not accept tracking? |
you must use the facebook limited login, which works differently |
Can this plugin do limited login? I never got an answer when I asked #93 |
no but this may help you |
Thank you! I'm the author of the original PR (#94) and I've had a fork for a while (https://github.com/dragermrb/capacitor-plugin-facebook-login), but I wanted to see if I could get back to the community plugin. |
@dragermrb you can reach out to @mhartington if you want to maintain this community plugin. |
@dragermrb thank you for the fork! Have you tried or been able to combine your fork and limited login with Firebase auth? The limited login seems to return a JWT token, which I don't think one can pass for Firebase's signInWithCredential method... |
Hello, I currently do not use firebase, I validate the token in my own backend and authenticate the user if correct |
@rdlabo any chance we can get any of the proposed solutions for limited login applied to this repo? |
You can now use https://github.com/Cap-go/capacitor-social-login who implement Facebook with the latest SDK and limited login, and it's maintain by a company who maintain more than 30 plugins. |
I’ve installed the latest version (6.1.0). Is it normal to receive a different type of token depending on the operating system? I thought this behavior was resolved when using the "limited" option. Regardless, I tried both tracking: 'enabled' and tracking: 'limited', but the accessToken doesn’t change (tracking is enabled). On iOS, I receive a JWT token, while on Android, I get an OAuth2 token. Thank you! |
Hi @ciccilleju Here is a summary
|
@dragermrb i've added the tracking but i still getting JWT what am i doing wrong here? `
} async fbLoginIOS(FACEBOOK_PERMISSIONS: string[]) {
}` |
Hi @ciccilleju Sorry for the mistake, but some changes have been implemented with respect to the PR I made some time ago and my previous answer is not correct. Maybe someone has the same problem and can help you... |
With version 6.0.0 I can't login to facebook iOS anymore and i read about this:
https://developers.facebook.com/blog/post/2024/03/28/changes-made-to-fb-login-sdk/
does anybody know what should I do to make it work again?
thanks
if i rollback to version 5.0.3 everything works fine
The text was updated successfully, but these errors were encountered: