Some test text!
Core / Guides / Cordova
Welcome to Apryse. Apryse technology can be integrated with Cordova using various platforms. You can select your desired platform below.
This guide will show you how to integrate WebViewer Document Viewer & Editor into a Cordova application.
You can also download a ready-to-go sample on GitHub.
Prior to starting, you should have already installed Node and npm.
Apryse collects some data regarding your usage of the SDK for product improvement.
If you wish to continue without data collection, contact us and we will email you a no-tracking trial key for you to get started.
git clone https://github.com/PDFTron/webviewer-cordova-sample.git
Enter the directory and run npm install:
cd webviewer-cordova-sample npm install
This will automatically download and extract the Apryse WebViewer Package.
Run the application by executing:
If your build fails, use the following command to see a list of requirements for your added platforms:
To call more WebViewer APIs, open
/www/js/index.js in your favorite text editor and add the API calls to the callback for the WebViewer instantiation:
For example, if you want to change the theme of the WebViewer to dark mode, you would add the following:
npm start again and the theme of the viewer will change.
Get the answers you need: Chat with us