PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Before starting the integration, please ensure the following prerequisites are met.
ComPDF offers two types of license keys: a free 30-day trial license and a commercial license.
How to Get Free Trial License
Method 1: Apply Online
If you want to get PDF SDK trials for Web, Windows, Android, iOS, Flutter, and React Native, simply apply for a 30-day free trial license online.
You can check features supported by the free trial license on our Pricing page.
Method 2: Contact Sales
For other platforms or features outside of the trial license, feel free to contact our sales team.
How to Get Formal License
ComPDF SDK is a commercial SDK that requires a license for application release. Any documents, sample code, or source code distribution from the released package of ComPDF to any third party is prohibited.
Method 1: Purchase Online
We allow developers to purchase formal licenses for the PDF SDK for iOS from our Pricing page, including common and standard PDF features. For any question about the plans, please contact our sales.
Method 2: Contact Sales
To get formal licenses for additional platforms, advanced features, custom requirements, or quote inquiries, feel free to contact our sales team.
For the ReactNative PDF SDK, the commercial license must be bound to your application’s ApplicationId and iOS BundleId.
Download the ComPDF ReactNative PDF SDK from Github or NPM.
ComPDF React Native SDK 3.2.0 requires React Native 0.76.0 or later. The ComPDF native SDK and the React Native host have separate system requirements. Your application must meet the higher requirement.
| Component | Android | iOS |
|---|---|---|
| ComPDF native SDK baseline | Android 6.0 (API 23) | iOS 13.0 |
| RN host requirement | The selected RN version's minSdkVersion | The selected RN version's minimum deployment target |
| Current 3.2.0 example (RN 0.85.3) | Android 7.0 (API 24) | iOS 15.1 |
The native baseline does not mean an RN application can lower its minimum version to that value. Also meet the requirements of any other native dependencies.
Android
Prepare Android Studio, the appropriate Android SDK/NDK, and an emulator or physical device. Keep build tools aligned with the selected RN template. The application's minSdkVersion must satisfy both ComPDF and RN host requirements.
iOS
Prepare macOS, Xcode, and CocoaPods, and build using the project's .xcworkspace. Deployment targets in the Podfile, application Target, and Pods must meet the selected RN version's and dependencies' requirements. The current example uses iOS 15.1 throughout.
You can use a React Native CLI project or Expo native builds. The SDK contains native code and cannot run directly in Expo Go.