cordova-plugin-facebook-connect / cordova-plugin-facebook-connect

Use the latest Facebook SDK in your Cordova and Ionic projects
Other
63 stars 90 forks source link

Trying to login with facebook when the facebook app is not installed in the phone, then after redirect from facebook prompt my app screen got stuck or freeze #141

Open AbubakarAfzal-HalfPocket opened 5 months ago

AbubakarAfzal-HalfPocket commented 5 months ago

I'm trying to login with Facebook in ionic cordova app, And the facebook app is not installed in the mobile phone. After the redirect from facebook prompt the app screen got stuck or freeze and unable to do any thing on the screen until unless I press the mobile back button then I can operate my app.

arihantdaga commented 4 months ago

I am facing the same problem, on diggig further i found that the login with fb is always failing with error code 4201.

window.facebookConnectPlugin.login(["email"], ()=>{
    console.log("something")
}, (e)=>{
    console.log("error")
    console.error(e) -> Always coming in this block
})
rmoehn commented 3 months ago

Switching to this and setting CLIENT_TOKEN fixed it for me: https://github.com/MaximBelov/cordova-plugin-fbsdk