---
title: "Auto save PDF file in React Native | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/react-native/save-a-document/"
md_url: "https://www.nutrient.io/guides/react-native/save-a-document.md"
last_updated: "2026-05-23T00:08:18.147Z"
description: "Discover the secret to easily saving your documents on React Native. Learn how with our step-by-step guide. Boost your productivity today!"
---

# Auto save PDF files in React Native

Nutrient React Native SDK [automatically saves](https://www.nutrient.io/guides/react-native/save-a-document.md#auto-save) a modified open document to your device’s local storage. You can also [disable automatic saving](https://www.nutrient.io/guides/react-native/save-a-document.md#disable-automatic-saving) and [manually save](https://www.nutrient.io/guides/react-native/save-a-document.md#manual-saving) the changes. Note that files are saved locally on your device, and no server is required.

## Auto save

Nutrient will automatically save changed, created, or deleted annotations and bookmarks on several occasions. In practice, this means that automatic saving will be performed when:

- The application goes into the background

- A configuration change occurs (for example, change of device orientation, change of locale, added keyboard)

- The [`NutrientView`](https://www.nutrient.io/api/react-native/NutrientView.html) is fully covered by another `View`

- The document on the [`NutrientView`](https://www.nutrient.io/api/react-native/NutrientView.html) is changed

- A document will be digitally signed

Each time a document is saved, the `onDocumentSaved()` event is called:

```js

onDocumentSaved={(event) => {
  alert("Document was saved!");
}}

```

If there were no new changes to save, the event won’t be called.

## Disable automatic saving

To disable automatic saving, set the `disableAutomaticSaving` property to `true` in the configuration object, like so:

```js

<NutrientView
	document={DOCUMENT}
	configuration={{
		disableAutomaticSaving: true,
	}}
	ref={this.pdfRef}
	fragmentTag="PDF1"
/>

```

## Manual saving

Saving can always be triggered from the main thread by calling `save()` on the current document:

```js

await this.pdfRef?.current?.getDocument().save();

```

For more details and sample code, refer to the [`ManualSave.tsx` example](https://github.com/PSPDFKit/react-native/tree/master/samples/Catalog/examples/ManualSave.tsx) from our [Catalog example project](https://www.nutrient.io/guides/react-native/prebuilt-solutions/example-projects.md#pspdfkit-catalog).
---

## Related pages

- [Save as PDFs in React Native](/guides/react-native/save-a-document/save-as.md)

