Nutrient React Native SDK
Need pricing or implementation help? Talk to Sales.
PDF EDITING IN REACT NATIVE
// Enable the Content Editor toolbar button.toolbar={{ // iOS rightBarButtonItems: { viewMode: Toolbar.PDFViewMode.VIEW_MODE_DOCUMENT, animated: true, buttons: [Toolbar.DefaultToolbarButton.CONTENT_EDITING_BUTTON_ITEM], }, // Android toolbarMenuItems: { buttons: [Toolbar.DefaultToolbarButton.CONTENT_EDITING_BUTTON_ITEM], },}}// Enable the Document Editor toolbar button.toolbar={{ // iOS rightBarButtonItems: { viewMode: Toolbar.PDFViewMode.VIEW_MODE_DOCUMENT, animated: true, buttons: [Toolbar.DefaultToolbarButton.DOCUMENT_EDITOR_BUTTON_ITEM], }, // Android toolbarMenuItems: { buttons: [Toolbar.DefaultToolbarButton.DOCUMENT_EDITOR_BUTTON_ITEM], },}}// Enter content editing mode programmatically.this.pdfRef.current?.enterContentEditingMode();USE CASES
Users need to correct text, update values, or fill in content directly in a PDF — without converting to another format. The SDK’s content editor handles this with a native UI on both iOS and Android.
Apps that manage contracts, reports, or forms often need to let users reorganize documents — reordering, removing, or adding pages before sending. The document editor covers all of these operations.
Combine multiple files into one for sharing, or split a large document into separate sections. Both are handled programmatically through the PDF generation API.
The same toolbar configuration and programmatic API works on both platforms. No platform-specific branching required for standard editing workflows.
Edit text directly in PDF documents using the built-in content editor UI. Text is grouped by paragraphs so users can edit multiple lines in a single text box.
Edit document structure through the built-in document editor UI, accessible from the thumbnail screen. Supports interactive and programmatic page operations.
Combine multiple PDFs into a single document or split a PDF into several separate files — handled through the PDF generation API.
Both the toolbar configuration and programmatic editing API are unified — the same code enables content editing and document editing on both platforms.
ADVANCED CAPABILITIES
The SDK separates content editing (changing text inside a PDF) from document editing (restructuring pages). Both require their respective licensed components and can be enabled independently. Content editing requires the document to be stored in a writable location on the filesystem.
Enables direct text editing inside PDFs. Requires the Content Editor license component and a writable document location.
Enables page-level editing — move, rotate, add, delete, merge, and split. Requires the Document Editor license component.
Trigger content editing mode without user interaction using the programmatic API — useful for guided editing flows in your app.
Text editing works with a hardware keyboard paired with the device, in addition to the software keyboard on iOS and Android.
Add the Content Editor button to the toolbar in your NutrientView configuration. Users tap the button to enter content editing mode and then double-tap a text box to edit it. You can also enter content editing mode programmatically without user interaction. The Content Editor component must be enabled in your license. See the editor guide for setup details.
Add the Document Editor button to the toolbar. This opens the document thumbnail screen where users can move, rotate, add, and delete pages interactively. The Document Editor component must be enabled in your license. See the editor guide.
Merging and splitting are handled through the PDF generation API. See the PDF generation guide for implementation details.
Yes. The toolbar configuration and programmatic API are unified across platforms. You provide platform-specific keys (iOS uses rightBarButtonItems, Android uses toolbarMenuItems), but the button identifiers and editing behavior are the same.
Content editing currently supports left-to-right text only. You cannot create new text boxes, only edit existing ones. Undo isn’t available while in content editing mode. Multistage input (used for Chinese, Japanese, and Korean) isn’t supported. See the editor guide for the full list.
Yes. Text content editing requires the Content Editor component in your license, and page-level document editing requires the Document Editor component. Contact Sales to enable these for your account.
FREE TRIAL
Add PDF editing to your React Native app in minutes — no payment information required.