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

Facebook on android is showing browser popup #185

Open
josematoswork opened this issue Aug 25, 2021 · 5 comments
Open

Facebook on android is showing browser popup #185

josematoswork opened this issue Aug 25, 2021 · 5 comments

Comments

@josematoswork
Copy link

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!

@hicreate
Copy link

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.

@grptx
Copy link

grptx commented Sep 6, 2021

same here

@grptx
Copy link

grptx commented Sep 6, 2021

in addition, facecebook will soon remove the ability to login from popups

@grptx
Copy link

grptx commented Oct 6, 2021

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'

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

3 participants