ionic in app browser is work in my PC, but…its not work is device why ??
i tried a several times… like
1-
onclick=“window.open(‘http://google.com’,’_system’,‘location=yes’);return false;”
2-
ng-href=“http://google.com” onclick=“window.open(this.href,’_system’,‘locaion=yes’)”
3-
.controller(‘DashCtrl’, function($scope,$ionicDeploy,$ionicPush,$cordovaInAppBrowser) {
var options = {
location: ‘yes’,
clearcache: ‘yes’,
toolbar: ‘no’
};
$scope.openBrowser = function() {
$cordovaInAppBrowser.open(‘http://google.com’, ‘_self’, options)
.then(function(event) {
// success
})
.catch(function(event) {
// error
});
}