This section only covers the breaking technical changes that should be considered when updating from the previous version.
When updating your SDK version, all changes/updates made in in the meantime have to be taken into account and applied if necessary.
Example: If you're updating from SDK version 3.7.2 to 3.9.2, the changes outlined in 3.8.0, 3.9.0 and 3.9.1 are still relevant.
No backward incompatible changes
No backward incompatible changes
-
Room update:
"androidx.room:room-runtime:2.2.5"is replaced by "androidx.room:room-runtime:2.2.6" -
LocalBroadcastManager removed:
"androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
- AndroidX Appcompat update:
is replaced by"androidx.appcompat:appcompat:1.1.0"
"androidx.appcompat:appcompat:1.2.0"
- Google Material Library update:
is replaced by"com.google.android.material:material:1.1.0"
"com.google.android.material:material:1.2.1"
No backward incompatible changes
No backward incompatible changes
No backward incompatible changes
- Room updated:
"androidx.room:room-runtime:2.2.3"is replaced by "androidx.room:room-runtime:2.2.5"
The Proguard keep rule -keep class com.jumio.** { *; }
has to be added to your Proguard rules, if it wasn't added yet.
Details can be found in chapter Proguard
No backward incompatible changes
AndroidX Material design library has been updated to version 1.1.0
"com.google.android.material:material:1.0.0"is replaced by "com.google.android.material:material:1.1.0"
Local broadcast manager dependency has been added mandatory due to the design library update where it was separated by Google
- implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
Error code D (Wrong API credentials used, retry impossible) has been removed
- Consumer Proguard rules have been added. All Jumio SDK Proguard rules will now be applied automatically to the application when the Jumio Core library is included.
No backward incompatible changes
androidx.appcompat:appcompat:1.0.2is replaced by androidx.appcompat:appcompat:1.1.0androidx.room:room-runtime:2.0.0is replaced by androidx.room:room-runtime:2.2.1
No backward incompatible changes
No backward incompatible changes
SDK Translations for the languages Italian and Portuguese have been added.
No backward incompatible changes
androidx.appcompat:appcompat:1.0.0is replaced by androidx.appcompat:appcompat:1.0.2
No backward incompatible changes
The following methods and the related parameters have been renamed to ensure consistency across all platforms
setMerchantReportingCriteria(..)
->setReportingCriteria(..)
setMerchantIdScanReference(..)
->setCustomerInternalReference(..)
setCustomerId(..)
->setUserReference(..)
Dependencies that have been added to the SDK:
- androidx.room:room-runtime:2.0.0
The support library was migrated to AndroidX
. As the developer page outlines, this is a mandatory step since all new Support Library development and maintenance will occur in the AndroidX library. This migration guide
shows you how to migrate your application to AndroidX.
Check out the changed dependencies in the dependencies section
or in the build.gradle
of the sample application.
The mapping for all support libraries is listed in section "Artifact mappings" here
Dependencies that changed in the SDK:
- com.android.support:appcompat-v7:27.1.1 -> androidx.appcompat:appcompat:1.0.0
- com.android.support:design:27.1.1 -> com.google.android.material:material:1.0.0
- com.android.support:support-v4:27.1.1 -> androidx.legacy:legacy-support-v4:1.0.0 (was merged by AndroidX and can be therefore be fully removed)
The document type for US social security card (USSS) was removed from the SDK.
The default value for enableExtraction
was changed to true
. Please make sure that it is explicitly set to false in case a scan without extraction should be performed.
These ABIs were deprecated in recent NDK toolsets as mentioned here - https://developer.android.com/ndk/guides/abis and are not used any more.
In addition to English, the translations for the languages Chinese (Simplified), Dutch, Frensh, German and Spanish have been added.
No backward incompatible changes.
SDK method documentVerificationSDK.setEnableExtraction(boolean)
has been added for enabling/disabling extraction on documents.
SDK method documentVerificationSDK.setAdditionalInformation
has been removed.
The schema for errorCode
changed and it's type is now String instead of Integer.
Read more detailed information on this in chapter Error codes
No backward incompatible changes.
- SDK updated to Android plugin for gradle 3.0 - https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html
- Minimum API level was raised from Android 4.1 (API level 16) to Android 4.4 (API level 19)
No backward incompatible changes.
No backward incompatible changes.
- Removed SDK method
setShowHelpBeforeScan(boolean)
because the collapsed help view is now constantly visible during scanning. - Additional Proguard rules for the Samsung Camera SDK have to be added:
-keep class com.samsung.** { *; }
-keep class com.samsung.**$* { *; }
-dontwarn com.samsung.**
No backward incompatible changes.
- Add DocumentVerificationSDK method
isRooted(Context)
for device root-check before starting the SDK
No backward incompatible changes.
No backward incompatible changes.
No backward incompatible changes.
© Jumio Corp. 395 Page Mill Road, Palo Alto, CA 94306