Advances in Hybrid Technologies
At PSPDFKit, we support all major hybrid technologies, and as part of our quest to continuously improve our libraries, we’ve added new APIs, improved existing ones, and fixed several issues.
In this article, we’ll highlight the recent advances made to our hybrid libraries.
ℹ️ Note: This blog post was updated on 22 July 2021 to remove mentions of Titanium, as Axway announced End-of-Support for the Titanium SDK effective 1 March 2022.
React Native
Our React Native library is very popular, and the community contributing to it is very active. Over the last few months, we’ve fixed many issues, made some considerable improvements, and exposed a lot of native APIs. Here are some notable changes from our recent releases:
-
Added the
toolbarTitle
configuration property to override the iOS toolbar title. -
Added the
onDocumentLoadFailed
callback on Android and iOS. -
Added JavaScript APIs to customize the toolbar on iOS.
-
Added the
getAllAnnotations()
JavaScript API to query all annotations from a document. -
Improved error handling for annotation manipulation functions on iOS.
-
Improved document path resolution on Android.
-
Updated the iOS integration steps to use CocoaPods by default.
-
Fixed a memory leak issue in React Native for Windows with Newtonsoft.
For the full set of changes, please take a look at our recent releases here.
Cordova and Ionic
Our Cordova library is also very widely used. We’ve made some significant improvements, and we exposed several native Android and iOS APIs to JavaScript:
-
Added the ability to manipulate annotations programmatically.
-
Added the programmatic forms API.
-
Added the ability to import and export XFDF.
-
Added document-processing APIs.
We also released a brand-new and unified Cordova library for both Android and iOS. Take a look at our announcement blog post for more details.
Flutter
Flutter is the youngest of our hybrid libraries, and we’re seeing it gain a lot of popularity among our customers and partners. Here are a few highlights of our recent improvements:
-
Added the ability to manipulate annotations programmatically.
-
Added the ability to manipulate forms programmatically.
-
Added the ability to programmatically unlock password-protected documents.
-
Added the
showDocumentTitle
configuration option to allow users to toggle the visibility of the document title. -
Added the ability to customize the toolbar buttons on iOS.
-
Extended support for styling and configuration options.
-
Exposed various configuration options like
showDocumentLabel
,settingsMenuItem
, and more.
Take a look at our recent releases for more details.
Electron and Xamarin
We also updated our Electron and Xamarin libraries to make sure they’re fully compatible with the latest versions of PSPDFKit, tools, and operating systems.
Conclusion
The sources of all of our hybrid libraries are publicly available. If you wish to learn more about how to extend native APIs, please take a look at the blog posts below to get started:
If you come across any missing APIs from any hybrid library that you think would be useful to have or have any questions, feel free to contact us. We’re happy to help.