Get started integrating Apryse Flutter SDK
Welcome to Apryse. This guide will help you integrate a free trial of the Apryse Flutter SDK into your Flutter Project. Your free trial includes unlimited trial usage and support from solution engineers.
Android & Flutter PDF library integration
This guide will help you integrate a free trial of the Apryse SDK into your Android applications using Flutter. Your free trial includes unlimited trial usage and support from solution engineers.
Prerequisites
Latest stable version of Flutter
Latest stable version of Android Studio
Have Android NDK (Native Development Kit) installed
Integrate
For simplicity, the following guide is based on a boilerplate Flutter app and uses Git Diff syntax to represent lines that have been added to or removed from the app. Please follow these Flutter get started guides to install, set up an editor, and create a Flutter Project if you are a first time Flutter developer
Initialize the project by running the command:
Add the following dependency to your Flutter project in
myapp/pubspec.yaml:
Navigate to your
myappfolder and run the following command to get the required packages:
Now add the following items in your
myapp/android/app/build.gradlefile:
In your
myapp/android/app/src/main/AndroidManifest.xmlfile, add the following lines:
In your
android/gradle.propertiesfile, add the following line:
If you are using the
DocumentViewwidget, change the parent class of yourMainActivityfile (either Kotlin or Java) toFlutterFragmentActivity.
Next step
iOS & Flutter PDF library integration
This guide will help you integrate a free trial of the Apryse SDK into your iOS applications using Flutter. Your free trial includes unlimited trial usage and support from solution engineers.
Prerequisites
Flutter >= 1.0.0
Integrate
For simplicity, the following guide is based on a boilerplate Flutter app and uses Git Diff syntax to represent lines that have been added to or removed from the app. Please follow these Flutter get started guides to install, set up an editor, and create a Flutter Project if you are a first time Flutter developer
Initialize the project by running the command:
Add the following dependency to your Flutter project in
myapp/pubspec.yaml:
If you want to use our null safe package from pub.dev:
If you want to use our null safe package from GitHub:
Navigate to your
myappfolder:and run the following command to get the required packages:
Open
myapp/ios/Podfileand make these changes:
Run this command to ensure integration process is successful:
Next step
Last updated
Was this helpful?