npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cordova-plugin-radaeepdf-maks

v1.4.2

Published

RadaeePDF reader cordova plugin

Downloads

4

Readme

RadaeePDF-Cordova Plugin

The repository has been moved to https://github.com/gearit/RadaeePDF-Cordova

The new one contains sources for both Android and iOS.

Official information page: http://www.radaeepdf.com/download/cordova-plugin

License

This plugin is released under the Apache 2.0 license

Only the plugin source code is under the license Apache 2.0, the library included in the plugin follow the license of his owner, please check it on: http://www.radaeepdf.com/ecommerce/technical-specification

GEAR.it and Radaee Studio distribute the plugin as-is for free. GEAR.it is the maintainer of the plug-in project.

If you, as user and developer need new features or fixes you shall submit them here on GitHub.

Installation

cordova plugin add cordova-plugin-radaeepdf-maks

Usage

  1. Create the app using the demo package name, to be able to test all the features (standard, professional and premium).
    cordova create RadaeePDF-Cordova com.radaee.reader RadaeePDF-Cordova (Android)
    cordova create RadaeePDF-Cordova com.radaee.pdf.PDFViewer RadaeePDF-Cordova (iOS)

  2. Add the android/iOS platform.
    cd RadaeePDF-Cordova
    cordova platform add android@6 --save and/or cordova platform add ios --save

  3. Add the plugin.
    cordova plugin add cordova-plugin-radaeepdf-maks --save

  4. Build the app.
    cordova build

After doing these steps, you will have a ready to use project.

Compatibility

We do not yet support cordova-android 7.0.0, latest supported version is 6.4.0

The JavaScript Interfaces

License Activation

For Android, you need to call this only when you have your own license, as the demo project already have a demo-premium license. For iOS, you have to call it before calling any other interface.

RadaeePDFPlugin.activateLicense(
	{
		licenseType: 0, //0: for standard license, 1: for professional license, 2: for premium license
		company: "", //the company name you entered during license activation
		email: "", //the email you entered during license activation
		key: "" //you license activation key
	},
	function(message) { // Callback for successful opening.
		 console.log("Success: " + message);
	},
	function(err){ // Callback in case of error.
		console.log("Failure: " + err);
	});

Open PDF from file system

RadaeePDFPlugin.open(
	{
		url: "", //The path of the pdf to open
		password: "" //password if needed
	},
	function(message) {
		 console.log("Success: " + message);
	},
	function(err){
		console.log("Failure: " + err);
    });
  • Example:

    url: "file:///mnt/sdcard/Download/Test.pdf", //in case of pdf is in the device file system
    url: "http://www.radaeepdf.com/documentation/MRBrochoure.pdf", //in case of pdf is on a remote server

Open PDF from assets

RadaeePDFPlugin.openFromAssets(
	{
		url: "Test.PDF", //the pdf name
		password: "" //password if needed
	},
	function(message) {
		 console.log("Success: " + message);
	},
	function(err){
		console.log("Failure: " + err);
    });

Get last opened file state

Returns the state of the last opened pdf, it can be:

  • File has not been modified.
  • File has been modified but not saved. (Only for Android)
  • File has been modified and saved.
RadaeePDFPlugin.getFileState(
	{},
	function(message) {
		 console.log("Success: " + message);
	},
	function(err){
		console.log("Failure: " + err);
    });

For more examples, check demo/js/index.js

RadaeePDF library version included:

  • Android: v3.15.1
  • iOS: v3.8.4

Original development:

More information about RadaeePDF SDK on http://www.radaeepdf.com.
For guide please check Knowledge Base articles