PSPDFKit 5.1 Migration Guide

This article provides a set of guidelines for migrating from version 5.0 to version 5.1 of PSPDFKit for Android. If you’re upgrading from a version earlier than 5.0, please review the Android 5.0 Migration Guide first.

AndroidX

PSPDFKit for Android now uses AndroidX instead of the support library, which means you’ll have to migrate your applications in order to continue using PSPDFKit. The complete migration instructions can be found here. You can let Android Studio automatically migrate your project.

However, you might still need to manually update a few things afterward before everything is working properly.

Notable Changes and Deprecations

XfdfFormatter#writeXfdf[Async]() now throws an exception when an annotation that isn’t attached to the document is passed in.