Login with Fb and Google using Ionic


I am trying to integrate fb login and google login with ionic framework .

Any idea which plugin suits best . I had tried InappBrwoser Plugin , giving me error “Could not find InAppBrowser Plugin”. but i am not successful on the same.

Any help on this ?



Do you try it from a device or a browser ?

If you try on a device be sure tu use

ionic plugins add org.apache.cordova.inappbrowser

then make a build

ionic build ios

If the build failed try to remove your platform and add them again

ionic platform remove ios
ionic platform add ios
ionic build ios



I have tried on device. i also remove platform and added it again. but i am still getting same error “Could not find InAppBrowser Plugin”


Could you try to remove the plugin

ionic plugin rm org.apache.cordova.inappbrowser 

and add this one

ionic plugin add cordova-plugin-inappbrowser

Seem the issue is about ngCordova


Which version of cordova and which version of plugin are you using? (try cordova plugin list to show all plugins and it versions).
I’m used oauth.io in ionic app for login via socail networks, perhaps it be helpfull.


cordova-plugin-inappbrowser 1.0.0 “InAppBrowser”


i tried the above steps still getting same error
I am using cordova-plugin-inappbrowser 1.0.0 “InAppBrowser”


Seems plugin installed correctly, perhaps bug in your js code?


Have you checked the plugin is installed correctly? I’ve had issues where they seem to install fine and even seem installed when you list them using the CLI, but then you look for the folders in your project and they aren’t installed properly.

If that’s the case uninstall and then reinstall.


If you are using ngCordova + inAppBrowser, there have been some smaller issues.

  1. Take a look at this issue on @nicraboy repo, they had the same problem with the browser
  2. If you are using ngCordova, install the master as some changes have just been merged

Let me know if your integration works now!


I usually just follow this one
hope this work to you