Open josematoswork opened 2 years ago
I am using capacitor 3.0 and Google authentication works on browser and Android. The facebook authentication works on browser but on Android when logging in with facebook it opens a browser popup where I need to login with facebook again instead of using my installed facebook app session.
My capacitor.config.json look like this
{ "appId": "com.xxx.yyy", "appName": "AppName", "bundledWebRuntime": false, "npmClient": "npm", "webDir": "www", "plugins": { "CapacitorFirebaseAuth": { "providers": ["google.com", "apple.com", "facebook.com"], "languageCode": "en", "nativeAuth": true, "properties": { }, "permissions": { "google": ["email", "profile"], "facebook": ["email"], "apple": ["fullName", "email"] } } } }
Is this config correct ? Can someone help me ?
Thanks!
I too am experiencing this today.
same here
in addition, facecebook will soon remove the ability to login from popups
it is necessary to update the facebook sdk version to a new version in your applevel build.gradle
file
implementation 'com.facebook.android:facebook-android-sdk:11.1.0'
I am using capacitor 3.0 and Google authentication works on browser and Android. The facebook authentication works on browser but on Android when logging in with facebook it opens a browser popup where I need to login with facebook again instead of using my installed facebook app session.
My capacitor.config.json look like this
{ "appId": "com.xxx.yyy", "appName": "AppName", "bundledWebRuntime": false, "npmClient": "npm", "webDir": "www", "plugins": { "CapacitorFirebaseAuth": { "providers": ["google.com", "apple.com", "facebook.com"], "languageCode": "en", "nativeAuth": true, "properties": { }, "permissions": { "google": ["email", "profile"], "facebook": ["email"], "apple": ["fullName", "email"] } } } }
Is this config correct ? Can someone help me ?
Thanks!