This site is the generated API reference for the ComPDF React Native SDK. It documents the public TypeScript surface used to view, annotate, edit, fill, search, and manage PDF documents on Android and iOS.
For an end-to-end setup walkthrough, see the React Native Integration Guide.
@compdfkit_pdf_sdk/react_native in your React Native application.ComPDFKit with the license method required by your deployment.CPDFReaderView with a document path and configuration.import {
ComPDFKit,
CPDFReaderView,
getDefaultConfig,
} from "@compdfkit_pdf_sdk/react_native";
await ComPDFKit.init_("your-compdfkit-license");
const configuration = getDefaultConfig({});
<CPDFReaderView
document="file:///path/to/document.pdf"
configuration={configuration}
/>;
Deprecated should be replaced with the alternative named in their migration note.Use the search box or the navigation menu to find a symbol, then check its parameters, return value, examples, and deprecation notes before integrating it.