Skip to content

PDF-SDK 2.4.1 is out.See what’s new

PDF-SDK
React Native

The PDF editor SDK for React Native

A React Native PDF editor: a TypeScript package over the native iOS and Android editors. Your users edit the text already in the PDF, fill and build forms, mark up and sign — in your React Native app.

Try the live demo in your browser

import { PdfEditor } from '@pdfsdk/react-native-pdf-editor';

await PdfEditor.setLicenseKey('PE1.eyJ2Ijox…');

const edited = await PdfEditor.open({ path: filePath });
if (edited) await upload(edited);

Everything your users need, in your React Native app.

Change the text already in the PDF, in any script — its font, size and colour — then move, rotate or restack it.

See the React Native PDF editor in action.

One JavaScript or TypeScript API for iOS and Android, with the same editor on both.

  • Edit text and images
  • Highlight and mark up
  • Add shapes and arrows
  • Fill in forms
  • Sign anywhere

Built for React Native.

  • Native on both platforms

    The package opens the native iOS and Android editors — no web view.

  • TypeScript API

    Open a file, get the edited file back. Choose the mode and tool to open in.

  • Swift Package Manager on iOS

    The iOS side builds with Swift Package Manager. No CocoaPods.

  • Make it yours

    Choose modes and tools, hide menu items, rename them, set colours, selection and handle shape.

  • Edit from code

    Work with the document when it is ready — add text and more — from TypeScript.

Requirements

React Native
0.87 or later
iOS
15 or later, built with Swift Package Manager
Android
8.0 (API 26) or later, arm64-v8a devices
Install with
npm
Full React Native guide

Add the React Native PDF editor in four steps.

  1. 1

    Add the package

    @pdfsdk/react-native-pdf-editor comes with your license as a tarball. Install it with npm.

  2. 2

    Set up iOS

    PDF-SDK ships as a Swift package, so convert the app from CocoaPods once. The package includes two small tools for this.

  3. 3

    Set up Android

    Autolinking picks the module up. Add the Maven repository that comes with your license and set the minimum SDK to 26.

  4. 4

    Set the key and open

    Set the key once, before the first editor. Open a PDF on disk or bundled with the app, and get the path of the edited file back.

Read the full React Native guide

React Native questions.

No. On iOS it ships as a Swift package only, built with Swift Package Manager.

React Native 0.87 or later, for iOS 15+ and Android 8.0 (API 26)+.

Yes. The package opens the native PDF-SDK editors for iOS and Android.

Try it in your app.

A free trial unlocks every feature on every platform, in any app. Open a document today.

Talk to us

Questions about licensing, several apps, volume, or OEM and site terms — we will work out what fits.