javascript - Phonegap 3.0 Angular.js unable to use InAppBrowser -
i'm working on project based on phonegap 3.0 , angular.js. try use inappbrowser following controller :
function accueilctrl($scope,$window) { $scope.openurl = function() { var ref = $window.open('http://www.google.fr', '_blank', 'location=yes'); }; }
i call function, in view, :
<a ng-click="openurl()">open page</a>
i followed insctructions, , used cli version of phonegap 3.0 :
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git phonegap build ios
but when launch app, either in simulator, or on real device, window not show nav bars @ all, it's full screen. replacing "_blank" "_system" doesn't change anything, safari not launch.
do think bug in phonegap or angular, or missing something? how can debug or trace find what's wrong? thx
Comments
Post a Comment