@anil_sehgal10 wrote:
Hi All,
I am writing an ionic app in which I have to open the login page in a default browser other than the web view:
var options = {
location: 'yes',
clearcache: 'yes',
toolbar: 'yes',
closebuttoncaption: 'DONE'
};
$cordovaInAppBrowser.open('', '_system', options)
.then(function(event) {
// success
})
.catch(function(event) {
// error
});
});$cordovaInAppBrowser.open('', '_self', options)
.then(function(event) {
// success
})
.catch(function(event) {
// error
});
});$cordovaInAppBrowser.open('', '_blank', options)
.then(function(event) {
// success
})
.catch(function(event) {
// error
});
});In all the above cases, the app webview navigates to the login page rather than opening the login page in a new web browser.
Interestingly, the app is working fine in ionic view with _system as the option.The is the only issue stopping the launch. Request you to please suggest.
Posts: 1
Participants: 1