Frameworks
React Native
Flutter
Package samples
Cookbook
Version 11
Version 10
Version 9
Version 8
Version 7
Version 6
Version 5
Welcome to Apryse. This guide will help you integrate a free trial of the Apryse React Native SDK into your React Native Project. Your free trial includes unlimited trial usage and support from solution engineers.
This guide will help you integrate a free trial of the Apryse SDK into your Android applications using React Native. Your free trial includes unlimited trial usage and support from solution engineers.
The trial of Apryse Mobile SDK does not require a trial key. A commercial license key is required for use in a production environment. Please contact sales to purchase a commercial key or if you need any other license key assistance.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).
For the expo setup of the project please refer to this blog post. For simplicity the following guide is based on a boilerplate react native app for react-native init MyApp
with git diff syntax for adding and removing lines from the boilerplate app.
MyApp
folder, install react-native-pdftron
. There are two ways to integrate the SDK:MyApp
folder, install react-native-pdftron
by calling:orMyApp
folder, install run the following commands:orandroid/app/build.gradle
file:android/gradle.properties
file, add the following line:android/app/src/main/AndroidManifest.xml
file:Please follow the latest Android best practices and guidelines outlined here
android/app/src/main/java/com/myapp/MainApplication.java
file, change Application
to MultiDexApplication
:If your app is targeting Android SDK version 28 or higher, please make sure the android:usesCleartextTraffic="true"
attribute is set in your application tag to open HTTP files in the viewer. If you are only working with HTTPS files, this is not required.
Apryse React Native introduced support for TypeScript in version 3.0.0. This update mainly benefits those who already use TypeScript in their applications. It also provides certain benefits to all customers, including those who use JavaScript without TypeScript.
To get access to TypeScript support, simply update your Apryse React Native dependency to version 3.0.0 or higher.
For non-TypeScript users, updating your Apryse React Native dependency to version 3.0.0 or higher will not automatically install TypeScript itself, and you can continue to use the library as before (without TypeScript support). If you currently do not use TypeScript itself in your project and would like to, see Adding TypeScript to an Existing Project.
Regardless of whether you use TypeScript, the following benefits are available:
dev
branch (see Contributing).If you have questions, head to the FAQ's React Native section.
If you are an existing TypeScript user, then the custom typings will be available to you simply by updating your Apryse React Native dependency to version 3.0.0 or higher.
Note:
any
.noEmitOnError
in your tsconfig.json
.This guide will help you integrate a free trial of the Apryse SDK into your iOS applications using React Native. Your free trial includes unlimited trial usage and support from solution engineers.
The trial of Apryse Mobile SDK does not require a trial key. A commercial license key is required for use in a production environment. Please contact sales to purchase a commercial key or if you need any other license key assistance.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).
For the expo setup of the project please refer to this blog post. For simplicity the following guide is based on a boilerplate react native app for react-native init MyApp
with git diff syntax for adding and removing lines from the boilerplate app.
react-native-pdftron
by calling. There are two ways to integrate the SDK:MyApp
folder, install react-native-pdftron
by calling:orMyApp
folder, install run the following commands:orPodfile
in the ios
folder, add:ios
folderinstall the pods by running the command:MyApp
as well, i.e. ic_close_black_24px
.Apryse React Native introduced support for TypeScript in version 3.0.0. This update mainly benefits those who already use TypeScript in their applications. It also provides certain benefits to all customers, including those who use JavaScript without TypeScript.
To get access to TypeScript support, simply update your Apryse React Native dependency to version 3.0.0 or higher.
For non-TypeScript users, updating your Apryse React Native dependency to version 3.0.0 or higher will not automatically install TypeScript itself, and you can continue to use the library as before (without TypeScript support). If you currently do not use TypeScript itself in your project and would like to, see Adding TypeScript to an Existing Project.
Regardless of whether you use TypeScript, the following benefits are available:
dev
branch (see Contributing).If you have questions, head to the FAQ's React Native section.
If you are an existing TypeScript user, then the custom typings will be available to you simply by updating your Apryse React Native dependency to version 3.0.0 or higher.
Note:
any
.noEmitOnError
in your tsconfig.json
.Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales