Nutrient 6.3 migration guide
Updated build versions
With Nutrient 6.3, we updated various build properties and versions.
-
Build System Dependencies
-
The Android Gradle plugin used to build Nutrient was updated to version
3.6.2
. In addition, all sample applications now use Android Gradle plugin3.6.2
as well.
-
Updated dependencies
With Nutrient 6.3, we updated multiple transitive dependency versions:
-
org.jetbrains.kotlin:kotlin-stdlib
was updated to version1.3.71
-
io.reactivex.rxjava2:rxjava
was updated to version2.2.7
-
io.reactivex.rxjava2:rxandroid
was updated to2.1.1
-
com.getkeepsafe.relinker:relinker
was updated to1.4.1
Changes to MenuItem IDs
With Nutrient Android SDK 6.3, we cleaned up the IDs used for MenuItem
s a bit by making it more obvious which ones to use for group items. All items that contain subitems now use IDs that include the word group
.
-
pspdf__annotation_creation_toolbar_item_markup
was renamed topspdf__annotation_creation_toolbar_group_markup
. -
pspdf__annotation_creation_toolbar_item_writing
was renamed topspdf__annotation_creation_toolbar_item_writing
. -
pspdf__annotation_creation_toolbar_item_drawing
was renamed topspdf__annotation_creation_toolbar_item_drawing
. -
pspdf__annotation_creation_toolbar_item_multimedia
was renamed topspdf__annotation_creation_toolbar_group_multimedia
. -
pspdf__annotation_creation_toolbar_item_undo_redo
was renamed topspdf__annotation_creation_toolbar_group_undo_redo
. -
pspdf__annotation_editing_toolbar_item_inspector
was renamed topspdf__annotation_editing_toolbar_group_inspector
. -
pspdf__annotation_editing_toolbar_item_undo_redo
was renamed topspdf__annotation_editing_toolbar_group_undo_redo
. -
pspdf__annotation_editing_toolbar_item_copy_cut
was renamed topspdf__annotation_editing_toolbar_group_copy_cut
. -
pspdf__annotation_editing_toolbar_item_edit_share
was renamed topspdf__annotation_editing_toolbar_group_edit_share
. -
pspdf__document_editing_toolbar_item_more
was renamed topspdf__document_editing_toolbar_group_more
.
Use of the old IDs or any other ID when creating a MenuItem
with submenu IDs will result in an error being logged. Starting with Nutrient Android SDK 7, this will also throw an exception.