Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

pspdfkit-cordova

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pspdfkit-cordova - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

19

docs/android/README.md

@@ -12,3 +12,3 @@ # Cordova Plugin - PSPDFKit for Android 6

- Cordova Android 8+.
- PSPDFKit for Android 6.5
- PSPDFKit for Android 6.5.2

@@ -161,6 +161,19 @@ ## Installation

> Note: If you're already a customer then please make sure that the package ID matches with your bundle ID that's assigned to your license (e.g. com.ionic.test). You can check this in your `AndroidManifest.xml` by searching for `package`. If you are using a trial license then you don't have to worry about that.
5. Now open your `index.js` file located in `www/js/` and paste the below code into the `receivedEvent: function(id)` function. For this to work you need to create a folder called `documents` in `www` and paste a PDF in this folder.
5. PSPDFKit requires modern Jetpack libraries AndroidX. To enable AndroidX modify the `config.xml` adding the following line in the `android` section:
```diff
...
<platform name="android">
+ <preference name="AndroidXEnabled" value="true" />
<allow-intent href="market:*" />
</platform>
...
```
6. Now open your `index.js` file located in `www/js/` and paste the below code into the `onDeviceReady()` function. For this to work you need to create a folder called `documents` in `www` and paste a PDF in this folder.
```javascript

@@ -176,3 +189,3 @@ PSPDFKit.presentFromAssets("www/documents/A.pdf", {

6. You are now ready to build and test your app!
7. You are now ready to build and test your app!

@@ -179,0 +192,0 @@ ```shell

2

package.json
{
"name": "pspdfkit-cordova",
"version": "1.1.0",
"version": "1.1.1",
"description": "PSPDFKit Cordova Plugin for Android and iOS",

@@ -5,0 +5,0 @@ "cordova": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc