Hi. I try to open a pdf file using InappBrwoser plugin. I use below code
$cordovaInAppBrowser.open('http://xxxx/try.pdf, '_system', options)
.then(function (event) {
alert("success");
})
.catch(function (event) {
alert("error");
});
When I use this code, it downloads file. If I change “_system” to “_blank”, it open a new window, but nothing will happen. How can I open a pdf file in app?
Thanks in advance.