Some test text!

menu
search
Integratekeyboard_arrow_down

Get started with Flutter

This guide will help you integrate a free trial of the PDFTron SDK into your iOS applications using Flutter. Your free trial includes unlimited trial usage and support from solution engineers.

See here for the get started guide for using the PDFTron Flutter SDK on Android.

linkPrerequisites

  • PDFTron SDK >= 6.9.0
  • Flutter >= 1.0.0

For trial purposes PDFTron is available without the need for a license key, however a valid license key is required to use PDFTron in a production app. If you do not have a valid license key, please contact sales for a commercial license key.

Your license key is confidential. Please make sure that it is not publicly available (e.g. in your public GitHub).

linkIntegrate

For simplicity the following guide is based on boilerplate flutter app flutter create myapp with git diff syntax for adding and removing lines from the boilerplate app.
  1. First follow the Flutter get started guides to install, set up an editor, and create a Flutter Project. The rest of this guide assumes your project is created by running flutter create myapp.
  2. Add the following dependency to your Flutter project in myapp/pubspec.yaml:

    dependencies:
       flutter:
         sdk: flutter
    +  pdftron_flutter:
    +    git:
    +      url: git://github.com/PDFTron/pdftron-flutter.git
  3. Navigate to your myapp folder and run flutter packages get.
  4. 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, "9.3"
    ...
        target 'Runner' do
            ...
    +  # PDFTron Pods
    +  use_frameworks!
    +  pod 'PDFNet', podspec: 'https://www.pdftron.com/downloads/ios/cocoapods/pdfnet/latest.podspec'
        end
  5. Run flutter build ios --no-codesign to ensure integration process is successful.

linkNext step

View a document

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close