Blog Post

PSPDFKit 2.8 for React Native Adds TypeScript Support

Erhard Brand

We’re pleased to announce the release of PSPDFKit 2.8 for React Native. This release adds support for TypeScript, opening image documents in the PSPDFKitView component, and React Native 0.73.

TypeScript Support

TypeScript support

By bundling our TypeScript type definitions in our PSPDFKit React Native plugin, you’re now able to enjoy the benefits of type safety, code suggestions, and autocompletion for PSPDFKit APIs and components while developing your application in TypeScript. TypeScript adds static typing to your project during development, allowing you to catch errors early and experience fewer run-time errors. This ultimately leads to shipping more stable products to your customers. Existing JavaScript-based projects will also receive helpful tool tips about the PSPDFKit APIs they’re calling when developing in supported IDEs, such as Visual Studio Code.

Support for Opening Images in the PSPDFKitView Component

Opening Images

This release adds the ability to open image documents directly on Android using the existing PSPDFKitView component. Previously, this was only supported on iOS. This negates the requirement to first convert image documents to a PDF and then pass them to PSPDFKit to open.

Enhancements and Bug Fixes for Native SDKs

This update to the PSPDFKit plugin targets React Native 0.72.7, and it’s also compatible with React Native 0.73. Various bug fixes are included in this release, along with the latest updates from our native iOS and Android SDKs. For more information, please refer to the iOS and Android changelogs. To upgrade to this version, you’ll be required to perform some migration steps. Please refer to our React Native 2.8 migration guide for steps on how to migrate.

More

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

Upgrade to PSPDFKit 2.8 for React Native now to take advantage of the latest updates and improvements. If you’re interested in PSPDFKit for React Native, contact our Sales team. For a complete list of features, visit the React Native guides. 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
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

CUSTOMER STORIES  |  Case Study • React Native • PDF Viewer

HIPAA Compliance without Compromise: Northwoods’ Journey to Modern PDF Experiences