pspdfkit-cordova
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -399,2 +399,32 @@ # Cordova Plugin - PSPDFKit for Android 6 | ||
### Conflict Trying to Modify Attributes | ||
In some cases, Cordova might fail adding `pspdfkit-cordova` plugin because of clashing configuration: | ||
``` | ||
Failed to install 'pspdfkit-cordova': Error: There was a conflict trying to modify attributes with <edit-config> in plugin pspdfkit-cordova. The conflicting plugin, ..., already modified the same attributes. The conflict must be resolved before pspdfkit-cordova can be added. You may use --force to add the plugin and overwrite the conflicting attributes. | ||
``` | ||
You can workaround this issue by following these steps: | ||
1. Reorder the PSPDFKit plugin inside `package.json` before other conflicting plugins: | ||
```package.json | ||
... | ||
"cordova": { | ||
"platforms": [ | ||
"android", | ||
"ios" | ||
], | ||
"plugins": { | ||
"pspdfkit-cordova": {}, | ||
"conflicting-plugin": {} | ||
} | ||
} | ||
... | ||
``` | ||
2. Remove platforms and plugins directories (`rm -rf platforms plugins`). | ||
3. Run `cordova prepare` to initialize all platforms and plugins in order specified inside the `package.json`. | ||
## Troubleshooting Ionic | ||
@@ -401,0 +431,0 @@ |
{ | ||
"name": "pspdfkit-cordova", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "PSPDFKit Cordova Plugin for Android and iOS", | ||
@@ -5,0 +5,0 @@ "cordova": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1364978
1