Below are options for android pdf viewing. Android does not have a native pdf viewer but there are options with tradeoffs. In all cases, pdfs would need to be temporarily stored unencrypted (we can delete this file once we are done viewing)
Uses google docs to view (https://docs.google.com/gview?embedded=true&url='')
- π zoom in/out functionality
- π able to hide url navigation bar
- π pdf's must be online
bare bones viewer (https://github.com/VadimDez/ng2-pdf-viewer)
- π renders local pdfs
- π customizable
- π no pinch to zoom. add a button to do this manually
- π sluggish
https://github.com/sitewaerts/cordova-plugin-document-viewer
- π view offline pdfs
- π third party app download required to open (muPDF)
Feature rich paid for library (https://pspdfkit.com/)
- π clean ui
- π expensive. ~ $500 yearly subscription.
https://github.com/Guutong/cordova-plugin-android-native-pdfviewer