Some test text!
Cross-platform / Guides
Welcome to Apryse. Apryse SDK can be integrated with Flutter for both Android and iOS.
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.
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:
flutter create myapp
Add the following dependency to your Flutter project in myapp/pubspec.yaml
:
If you want to use our null safe package from pub.dev:
dependencies:
flutter:
sdk: flutter
+ pdftron_flutter:
If you want to use our null safe package from GitHub:
dependencies:
flutter:
sdk: flutter
+ pdftron_flutter:
+ git:
+ url: git://github.com/ApryseSDK/pdftron-flutter.git
Navigate to your myapp
folder:
cd myapp
and run the following command to get the required packages:
flutter packages get
Open myapp/ios/Podfile
and make these changes:
# Uncomment this line to define a global platform for your project
- # platform :ios, '9.0'
+ platform :ios, "10.0"
target 'Runner' do
# ...
+ # Apryse Pods
+ pod 'PDFNet', podspec: 'https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdfnet/latest.podspec'
# ...
end
Run this command to ensure integration process is successful:
flutter build ios --no-codesign
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales