How we authenticate by facebook or google+

I use ngCordova plugin in ionic V1
But, I can’t use in ionic2.
Anyone has any ideas?

Yes, It should work with ionic2. Because nothing in changed in noCordova Plugins. You can use it for V2 also.

Have you got example for V2.
Thank you.

Not yet but I working on this


Do you have some example?
Such, how to import module and how to use it.
angular.module(‘starter’, [‘ionic’, ‘ngCordovaOauth’])

Thanks in advance

ngCordova is not compatible with Ionic2 as many of the services of Angular 2 have changed.

Some quick examples of services that are obsolete in use by the ngCordova oauth plugin include $q and $http as Angular 2 has made a transition away from promise towards Observables.

Plugins which do not rely on Angular are still compatible with Ionic 2- Ones which I have been using for oauth with success are:
cordova-plugin-facebook4 1.1.0
cordova-plugin-googleplus 4.0.5

As far as I can tell there are no available Twitter plugins available.

Here is the ngcordova oauth plugin source in case you’re interested in seeing some of the exposed Angular elements that were in use: