Blog Post

PSPDFKit 2 for React Native Adds TIFF Image Documents

Akshat Patel
Illustration: PSPDFKit 2 for React Native Adds TIFF Image Documents

We’re excited to announce the newest version of PSPDFKit for React Native! Version 2 adds the ability to open TIFF images as image documents, overhauls our example projects, and adds several minor fixes and improvements — including support for iOS 15!

Support for TIFF Image Documents

Starting with PSPDFKit 2 for React Native, you can open .tiff files in addition to the already supported .png and .jpeg image files. All you need to do is add the following:

// PSPDFKit can open PNG, JPEG, and TIFF image files directly.
PSPDFKit.present(tiffImagePath, tiffImageConfiguration);

All-New Fresh Example Projects

PSPDFKit 2 for React Native completely overhauls both our Catalog and Native Catalog example projects. We merged the separate JavaScript files for Android and iOS into a single unified file that works on both platforms. This is consistent with React Native best practices and makes the code easier to understand. In addition, we updated all project dependencies and made a lot of minor code improvements. We also fixed several warnings that were present due to the use of old dependencies and deprecated code.

And More!

This release also includes a helper method, setLicenseKeys, which allows users to directly set the license key for both platforms at once instead of manually checking for the platform and setting the license keys. We also updated React Native and all dependencies to the newest version. However, this is just the beginning, and we’ll be working on more improvements — especially the unification of Android and iOS APIs. If you come across anything missing in our React Native library that you think would be useful to have, feel free to contact us.

As always, to see a complete list of changes, check out the PSPDFKit 2 for React Native changelog.

If you’re interested in PSPDFKit for React Native, please contact our sales team. For a complete list of features, please visit our product page. We’d love to hear about your use case and discuss how to best implement it.

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

Related Articles

Explore more
TUTORIALS  |  Android • iOS • React Native • JavaScript • How To

How to Open a PDF in React Native Using the Document Picker

TUTORIALS  |  React Native • How To • PDF

How to Build a React Native PDF Viewer

TUTORIALS  |  iOS • React Native • Objective-C • How To

How to Bridge Native iOS Code to React Native