Skip to content
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

Open
ciccilleju opened this issue May 1, 2024 · 15 comments
Open

Changes made to the Facebook Login SDK for iOS #151

ciccilleju opened this issue May 1, 2024 · 15 comments

Comments

@ciccilleju
Copy link

ciccilleju commented May 1, 2024

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

image

if i rollback to version 5.0.3 everything works fine

@ciccilleju
Copy link
Author

@rdlabo Android works fine as you can see from this screenshot

but iOS asks me about a "limite" api which i never heard about.

image

Rolling back to 5.0.3 fixes the iOS issue.
I don't know if you were aware of it

@wickker
Copy link

wickker commented Jun 7, 2024

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.

@lsantaniello
Copy link

I have the same problem. How did you solve it? @ciccilleju

@ciccilleju
Copy link
Author

I have the same problem. How did you solve it? @ciccilleju

disabling facebook login at the moment

@ciccilleju
Copy link
Author

ciccilleju commented Jun 13, 2024

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.

let me try it and I'll get back to you

edit: It works, thank you !!!

@dragermrb
Copy link

What happens if the user does not accept tracking?

@ciccilleju
Copy link
Author

you must use the facebook limited login, which works differently

@dragermrb
Copy link

Can this plugin do limited login?

I never got an answer when I asked #93

@ciccilleju
Copy link
Author

no but this may help you
#150

@dragermrb
Copy link

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.

@shiv19
Copy link

shiv19 commented Jun 14, 2024

@dragermrb you can reach out to @mhartington if you want to maintain this community plugin.

@viking2917
Copy link

@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...

@dragermrb
Copy link

Hello, I currently do not use firebase, I validate the token in my own backend and authenticate the user if correct

@theigl
Copy link

theigl commented Aug 5, 2024

@rdlabo any chance we can get any of the proposed solutions for limited login applied to this repo?

@forgr-owner
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants