How do I use the standard version of Apryse Android?

The standard version has lighter set of features to reduce the size of the APK. You can find out more about the differences between the two versions here .

Integrating standard version of Apryse using Gradle

  1. First integrate the Apryse libraries are described in this guide.
  2. Open the build.gradle file in your app module's directory and edit it to add a dependency for the standard version of Apryse:

Groovy

1dependencies {
2 // ...
3- implementation "com.pdftron:pdftron:11.0.0"
4+ implementation "com.pdftron:pdftron-standard:11.0.0"
5 implementation "com.pdftron:tools:11.0.0"
6
7 implementation 'androidx.multidex:multidex:2.0.1'
8}

Integrating standard version of Apryse using AAR

  1. First integrate the Apryse libraries are described in this guide.
  2. Instead of copying pdftron.aar from /lib/full/pdftron.aar, copy it from /lib/standard/pdftron.aar.

Update ViewerConfig

To use the standard version together with DocumentActivity or PdfViewCtrlTabHostFragment2, change the ViewerConfig:

1ViewerConfig config = new ViewerConfig.Builder()
2 .useStandardLibrary(true)
3 .build();

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales