-
Notifications
You must be signed in to change notification settings - Fork 962
Description
Operating System
IOS, Android
Environment (if applicable)
Capacitor 7, firebase: 11.0.0 and higher, @capacitor-firebase/authentication: 7.2.0 and higher
Firebase SDK Version
firebase: 11.0.0 and higher
Firebase SDK Product(s)
Auth
Project Tooling
Capasitor app
Detailed Problem Description
Seems after Facebook migrate to Facebook login for Business they change the rule to authorise to soc accounts. In my olde project version I am using next technologies:
- Capacitor 6
- Firebase 10.13.0
- @capacitor-firebase/authentication 6.1.0 (which allows me to login to Facebook accounts)
Everything works fine and login method redirects me into Facebook app (on my device), let me login and return back info that I requested.
After Android introduced their updates related to API 35, it requires Capacitor 7. In this case I have to update my project with next technologies: - Capacitor 7
- Firebase 11.0.0 (at least)
- @capacitor-firebase/authentication 7.2.0
With all of this updates Facebook login does not work and I see a message that "This app is not available"
I added all required Facebook permissions but seems nothing help.
In on of articles I saw that for web implementation should be used "config_id" key with value. And here is the question - does Firebase support this key, and can I send it to Facebook to login in my app?
Steps and code to reproduce issue
Demo with deferent environments:
With Capacitor 6, @capacitor-firebase/authentication: 6.1.0, firebase: 10.13.0
https://github.com/VashAlex/Capacitor6-login-to-facebook
With Capacitor 7, @capacitor-firebase/authentication: 7.2.0, firebase: 11.0.0
https://github.com/VashAlex/Capacitor7-login-to-facebook
Steps to run projects:
- run "npm i" in each project
- fill in information about Facebook App and Firebase app
- add GoogleService-Info.plist file into IOS directory
- run rpojects on ios simulator or real devices