Hi,
i’m using $cordovaInAppBrowser to open an external link inside my App.
Everything is working fine but when i close the inAppBrowser, my app route automatically to the home.
How can i prevent this?
When i close the inAppBrowser i want to come back in my last view of the app.
This is my code:
var options = {
location: 'yes',
closebuttoncaption: 'torna indietro',
clearcache: 'no'
};
$scope.outLink = function (url) {
$cordovaInAppBrowser.open(url, '_system', options)
.then(function (event) {
// success
})
.catch(function (event) {
// error
});
};