I am creating an Android app which downloads the pdf and the user can open it in adobe reader or anyother app installed on the device.
Currently when I click on the icon, the OS asks me to open the file with adobe reader or anyother app. When I select any app, I get an error that “path is not correct”.
When I am downloading the file, I am giving this cordova.file.dataDirectory + filename. The file even exists when I use ng cordova’s $cordovaFile.checkFile but it is somehow not available to Adobe Reader.
Can anybody help?