nutrient-react-native-sdk
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNutrient React Native SDK
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.
基于原生Nutrient iOS和Android SDK的React Native桥接层(支持更多平台)。通过单一JavaScript/TypeScript API,为React Native应用提供PDF查看、批注、表单填充和数字签名功能。
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
单次获取由LLM整理的文档内容——API/指南查询优先使用这些资源,而非人工维护的文档站点:
Example Repositories
示例仓库
- Official React Native examples and the React Native + Expo integration guide live under the PSPDFKit GitHub org.
官方React Native示例及React Native + Expo集成指南托管在PSPDFKit GitHub组织下。
Key Concepts
核心概念
- Package: . The legacy
npm install @nutrient-sdk/react-nativepackage is the pre-rebrand name; new projects must usepspdfkit-react-native.@nutrient-sdk/react-native - Component: renders an embedded PDF viewer. The legacy
<NutrientView />is the pre-rebrand name.PSPDFKitView - License key: set via the native module at app startup —
Nutrient(the native module is renamed fromNativeModules.Nutrient.setLicenseKey(...)toPSPDFKit).Nutrient
- 包: 。旧版
npm install @nutrient-sdk/react-native包是更名前的名称;新项目必须使用pspdfkit-react-native。@nutrient-sdk/react-native - 组件: 用于渲染嵌入式PDF查看器。旧版
<NutrientView />是更名前的组件名称。PSPDFKitView - 许可证密钥: 在应用启动时通过原生模块设置——
Nutrient(原生模块已从NativeModules.Nutrient.setLicenseKey(...)更名为PSPDFKit)。Nutrient