Nutrient 6.6 migration guide

This article provides a set of guidelines for migrating from Nutrient Android SDK 6.5 to Nutrient Android SDK 6.6.

Dependency and build system updates

With Nutrient 6.6, we updated various build properties and versions.

  • Changed

    The Android Gradle plugin used to build Nutrient was updated to version 4.1.1. All sample applications now use Android Gradle plugin 4.1.1 as well.

  • Changed

    org.jetbrains.kotlin:kotlin-stdlib was updated to version 1.4.21

Removed device year class dependency

Device Year Class is a deprecated library from Facebook that analyzes an Android device’s specifications. With Nutrient Android SDK 6.6, we removed the Device Year Class transitive dependency in favor of a simpler in-house algorithm that works by following similar principles to optimize the default configuration.

❗ Important: Follow the next step only if you manually integrated the Nutrient .aar file. If you used Maven/Gradle for integrating Nutrient, Device Year Class has already been removed for you.

Inside the dependencies block of your app/build.gradle, remove the following line:

dependencies {
-    implementation 'com.facebook.device.yearclass:yearclass:2.0.0'
}