capacitor-community / facebook-login

Facebook Login support
MIT License
98 stars 52 forks source link

Changes made to the Facebook Login SDK for iOS #151

Open ciccilleju opened 2 months ago

ciccilleju commented 2 months ago

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 commented 2 months ago

@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 commented 1 month ago

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 commented 3 weeks ago

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

ciccilleju commented 3 weeks ago

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

disabling facebook login at the moment

ciccilleju commented 3 weeks ago

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 commented 3 weeks ago

What happens if the user does not accept tracking?

ciccilleju commented 3 weeks ago

you must use the facebook limited login, which works differently

dragermrb commented 3 weeks ago

Can this plugin do limited login?

I never got an answer when I asked https://github.com/capacitor-community/facebook-login/issues/93

ciccilleju commented 3 weeks ago

no but this may help you https://github.com/capacitor-community/facebook-login/pull/150

dragermrb commented 3 weeks ago

Thank you!

I'm the author of the original PR (https://github.com/capacitor-community/facebook-login/pull/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 commented 3 weeks ago

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