Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
inAppBrowser
http://ngcordova.com/docs/plugins/inAppBrowser/
Force download our open file Pdf:
var options = {
location: 'yes',
clearcache: 'yes'
};
$cordovaInAppBrowser.open('http://dlucca-abrhsp.tempspace.no/uploads/materials/07/ff/07ff6180309811e68542739bcce0a3a9.pdf', '_system', options)
.then(function (event) {
alert("success");
})
.catch(function (event) {
alert("error");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment