0.0.1 • Published 7 years ago

cordova-plugin-pdf-viewer v0.0.1

Weekly downloads
12
License
MIT
Repository
github
Last release
7 years ago

Plugin's Purpose

The purpose of the plugin is to create a cordova plugin wrapper around http://randymcmillan.github.com/PDFViewer with a little bit of code updates taken from https://github.com/sitewaerts/cordova-plugin-document-viewer and https://github.com/vfr/Reader for iOS and https://github.com/cyberkatze/pdfViewer for Android. Feature parity is missing for the time being. This was more for getting something up and running first.

Supported Platforms

  • iOS 7+
  • Android 4+
  • Cordova/Phonegap >=4.0.0

Installation

cordova plugin add https://github.com/cdibened/PDFViewer.git

Removal

cordova plugin rm cordova-plugin-pdf-viewer

Using the plugin

The plugin creates the global object PDFViewer in the window scope.

Open a Document File

PDFViewer.openPDF(url);