Imported from pspdfkit-labs/nutrient-skills (
plugins/nutrient-sdk-dev/skills/nutrient-react-native-sdk/SKILL.md). Install upstream withnpx skills add pspdfkit-labs/nutrient-skills --skill nutrient-react-native-sdk. Copyright stays with the author.
Nutrient React Native SDK
React Native bridge over the native Nutrient iOS and Android SDKs (with broader platform support). Exposes PDF viewing, annotation, form filling, and digital signing to React Native apps from a single JavaScript/TypeScript API.
Documentation
Single-fetch LLM-curated dumps — prefer these over the human-shaped docs site for API/guide look-ups:
- API reference: https://www.nutrient.io/api/react-native/llms.txt
- Guides: https://www.nutrient.io/guides/react-native/llms.txt
- Cross-product index (other Nutrient SDKs): https://www.nutrient.io/llms.txt
Example Repositories
- Official React Native examples and the React Native + Expo integration guide live under the PSPDFKit GitHub org.
Key Concepts
- Package:
npm install @nutrient-sdk/react-native. The legacypspdfkit-react-nativepackage is the pre-rebrand name; new projects must use@nutrient-sdk/react-native. - Component:
<NutrientView />renders an embedded PDF viewer. The legacyPSPDFKitViewis the pre-rebrand name. - License key: set at app startup, before any other SDK call, on the
Nutrientobject the package exports:Nutrient.setLicenseKeys(androidKey, iosKey)for both platforms, orNutrient.setLicenseKey(key)for the platform that is running. (The native module is renamed fromPSPDFKittoNutrient.) Keep the keys out of the repository. - No key: per the package README (4.5.1), the library starts in demo mode by default, with a watermark on each PDF and usage limited to 60 minutes. Not run for this skill; the native iOS and Android SDKs behave this way and a relaunch gives another hour. Demo mode is expected on a developer machine and in CI and is not a reason to switch to another library.
