I’m having an issue when trying to login on FB from my app on Ionic View after deploying to Ionic Pro: “plugin_not_installed”.
This is how I make the call to facebook login:
loginWithFb(loginPage) {
return this.facebook.login(['email', 'public_profile'])
.then((response: FacebookLoginResponse) => {
(...)
})
.catch(error => {
this.alertService.createAlert("Error trying login to FB", JSON.stringify(error));
this.errorService.logError(JSON.stringify(error), { level: 'error' }, {});
});
}
I installed cordova-plugin-facebook4 following the docs on github.
So… I can not found the answer to this problem and do not know what to do, any help is welcome!