Having a single library for both Android and iOS makes it easier to maintain a consistent API on both platforms. When we merged our old plugins into PSPDFKit-Cordova, we made sure the new API is implemented on both Android and iOS to improve the experience of writing cross-platform code.
In the table below, you can see the unified
|Old Android API||Old iOS API||Unified API|
For more details, see our API reference.
We updated our new library to take full advantage of the latest improvements in Cordova, Ionic, and the host operating systems. Below, we list some notable changes and improvements:
Our new library is fully compatible with Cordova 9.0.0 and later.
Full compatibility with PSPDFKit 6 for Android, offering improved performance, better accessibility, and more.
Full compatibility with PSPDFKit 9 for iOS with iOS 13 enhancements, including Dark Mode.
CocoaPods is used by default on iOS projects.
Easier than ever installation and integration steps.
If you were previously using one of our Cordova plugins, we made the migration to the new one very easy. Please take a look at our migration guides for more information about how to migrate to our new library.
The source to our Cordova library is available, so you can customize and extend it to suit your project’s requirements. If you’re looking to extend native APIs, we recommend that you take a look at our How to Expose Native iOS APIs to Cordova post. If you have any questions about our Cordova library, please don’t hesitate to reach out to us. We’re happy to help.