Reputation: 1167
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');
Upvotes: 0
Views: 312
Reputation: 1033
Try to take a look at this repository: integrating that and adding the download class, make the download of pdf work on Android
Upvotes: 1