nutrient-react-native-sdk

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Nutrient 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:
单次获取由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:
    npm install @nutrient-sdk/react-native
    . The legacy
    pspdfkit-react-native
    package is the pre-rebrand name; new projects must use
    @nutrient-sdk/react-native
    .
  • Component:
    <NutrientView />
    renders an embedded PDF viewer. The legacy
    PSPDFKitView
    is the pre-rebrand name.
  • License key: set via the
    Nutrient
    native module at app startup —
    NativeModules.Nutrient.setLicenseKey(...)
    (the native module is renamed from
    PSPDFKit
    to
    Nutrient
    ).
  • 包:
    npm install @nutrient-sdk/react-native
    。旧版
    pspdfkit-react-native
    包是更名前的名称;新项目必须使用
    @nutrient-sdk/react-native
    。
  • 组件:
    <NutrientView />
    用于渲染嵌入式PDF查看器。旧版
    PSPDFKitView
    是更名前的组件名称。
  • 许可证密钥: 在应用启动时通过
    Nutrient
    原生模块设置——
    NativeModules.Nutrient.setLicenseKey(...)
    (原生模块已从
    PSPDFKit
    更名为
    Nutrient
    )。