angularjs - ngCordovaOauth plug-in in Ionic App not working -
i've passed lot of time trying make ngcordovaoauth plugin work, keep getting same error "could not find inappbrowser plugin".
i've installed in-app-browser plugin, , i'm using ng-cordova doesn't work.
this controller
.controller('dashctrl', function($scope, $cordovaoauth) { $scope.login = function(){ $cordovaoauth.facebook("my_app_id", ["email"]).then(function(result) { console.log(result); }, function(error) { console.log(error); }); } })
these installed plugins
cordova-plugin-console 1.0.2 "console" cordova-plugin-device 1.1.1 "device" cordova-plugin-inappbrowser 1.2.2-dev "inappbrowser" cordova-plugin-splashscreen 3.1.0 "splashscreen" cordova-plugin-statusbar 2.1.0 "statusbar" cordova-plugin-whitelist 1.2.1 "whitelist" ionic-plugin-keyboard 1.0.8 "keyboard"
any idea of doing wrong?, in advance help!
in ng-cordova.js
replace occurencies of org.apache.cordova.inappbrowser
cordova-plugin-inappbrowser
Comments
Post a Comment