Blog Post

PSPDFKit 2.9 for React Native Adds Main Toolbar Customization

Erhard Brand

We’re excited to announce the release of PSPDFKit 2.9 for React Native. This release introduces the ability to add custom buttons to the main toolbar, persists the document viewer’s configuration options, and introduces an easier way to configure Measurement Tools.

Adding Custom Buttons to the Main Toolbar

Toolbar Customization

In addition to specifying which toolbar buttons should be visible to the user, you now also have the ability to add custom toolbar buttons to the main toolbar. This will allow you to place your own buttons alongside the PSPDFKit toolbar buttons and perform custom actions when they’re tapped. For more information, refer to the main toolbar customization guide.

Persisting PSPDFKitView Settings

Persist Settings

This release adds the ability to query the current document’s configuration options. The configuration can be reapplied to new PSPDFKitView instances to persist the settings, providing your customers with continuity when moving between documents. The configuration is returned as a PDFConfiguration object. You can find out more by reading the configuration guide.

Configuring Measurement Tools

Configure Measurement Tools

In this version, we’ve introduced an easier way to configure Measurement Tools. The new MeasurementValueConfiguration object forms part of the PDFConfiguration object passed in when creating a new PSPDFKitView component. It can also be set after the component has been created using the setMeasurementValueConfigurations API. The previously used setMeasurementScale and setMeasurementPrecision methods have been removed.

Enhancements and Bug Fixes for Native SDKs

This release also adds the ability to open password-protected PDF documents programmatically and includes other bug fixes and improvements, along with the latest updates from our native iOS and Android SDKs. For more information, please refer to the iOS and Android changelogs. If you’re currently using the Measurement Tools component, you’ll be required to perform some migration steps. Please refer to our React Native 2.9 migration guide for steps on how to migrate.

More

For a full list of changes included in PSPDFKit 2.9 for React Native, refer to our changelog.

Upgrade to PSPDFKit 2.9 for React Native now to take advantage of the latest updates and improvements. For a complete list of features, visit the React Native guides. If you’re interested in PSPDFKit for React Native, contact our Sales team. We’d love to hear about your use case and discuss how to best implement it.

Related Products
PSPDFKit for React Native

Product Page
Guides
Example Projects

Share Post
Free 60-Day Trial Try PSPDFKit in your app today.
Free Trial

Related Articles

Explore more
PRODUCTS  |  React Native • Releases

PSPDFKit 2.8 for React Native Adds TypeScript Support

CUSTOMER STORIES  |  Case Study • React Native • iOS • Android

Case Study: How Trinoor Uses PSPDFKit to Drive Operational Excellence with Flexible, Mobile Applications for the Energy and Utilities Market

PRODUCTS  |  React Native • Releases

PSPDFKit 2.7 for React Native Adds Annotation Preset Customization