Hi, I need to open a remote PDF from app and I use href for it, but when I open it, I’ve any method to close or return to app ( I’ve tried into emulator ). So: How return to APP or open into app view?
I am using: window.open(filePath, ‘_system’, ‘location=no’);
Could you made an example with a remote file?
window.open(filePath, ‘_system’, ‘location=no’)
in here, filePath is url file pdf, doc
I tried but I’ve the same behaviour as when I open pdf file by href. I’m not able to return to app.
Do I need Cordova plugin? http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser
I think that is not you mean $window angularjs directive. Is’t right?
1 Like
You tried emulator or device, it only working on device, because emulator not install a PDF application
I use inappbrowser plugin.