Error while logging in with facebook using ionic w/ ngCordova

I tried using ngCordova facebook plugin for logging in the user.

After ionic run android -device and clicking the login button, I get the following error:

{errorCode: “4201” errorMessage: “User cancelled dialog”}

I am only working on android at the moment:

ionic 1.7.10
cordova 5.4.0
on an Ubuntu 14.04 machine.

Git repo: https://github.com/Saurav-K-Aryal/huevents

Hey buddy,

that issue started to show up to me recently ! Sometimes, but not always, I have the same problem. Have you solved it ?

Yes, I did. Just look at this repo

Okay, I took a look at all the code… I can’t find anything unusual. I guess my issue is not related to yours ! Thanks for helping ,anyway.