Nutrient 6.4 migration guide
Updated build versions
With Nutrient 6.4, we updated various build properties and versions.
- Changed
The Android Gradle plugin used to build Nutrient was updated to version
3.6.3
. All sample applications now use Android Gradle plugin3.6.3
as well.
API changes
- Removed
com.pspdfkit.internal.views.page.PageLayout
With Nutrient Android SDK 6.4, we reenabled minification for the previously non-minified framework-internal
PageLayout
class. If you were relying on this class in your builds, it’s necessary to switch to an existing suitable public API for replacing the functionality when upgrading to Nutrient Android SDK 6.4. If you have troubles with migrating to public APIs, reach out to us on support with your specific use case and problem. - Changed
com.pspdfkit.document.processor.PdfProcessorTask#mergePage(...)
The behavior of the two existing
mergePage()
processor methods was changed to now properly account for any rotation set on the target page. Previously, merging pages would lead to unexpected results if the target page had a non-zero rotation set. If your application relies on the old rotation behavior, consider passing in aPagePdf
using a rotatedMatrix
instead.