How to support displaying PDF files in App in Android without install third party App manually by user?
I used below Cordova InAppBrowser (to support iOS and Android) code but failed for Android:
cordova.InAppBrowser.open(__HTTP_FILE_LINK__, '_blank',
'enableViewPortScale=yes,location=no,toolbartranslucent=no,
closebuttoncaption=Done,usewkwebview=yes,transitionstyle=crossdissolve,
hardwareback=no,hideurlbar=yes,hidespinner=yes,hidenavigationbuttons=yes');
Try to take a look at this repository : integrating that and adding the download class, make the download of pdf work on Android
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.