Skip to content

Commit

Permalink
Release commit for 2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JumioMobileTeam committed Aug 23, 2018
1 parent 945b5e2 commit 77d933c
Show file tree
Hide file tree
Showing 18 changed files with 836 additions and 23 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@
- [Support](#support)

# Release notes
SDK version: 2.12.1
SDK version: 2.13.0

#### Changes
* Added support for 5 new languages (Spanish, French, German, Chinese simple, Dutch) [Document Verification]
* Improved image checks to reduce number of blurred Selfies [Netverify]
* Deprecated middleName parameter - middle names will now be merged into the firstName field to be consistent with all other aquisition channels [Netverify/Fastfill]

#### Fixes
* Fixed a problem in which the user could get stuck in the Selfie capturing process [Netverify]
* Fixed various crashes in Umoove framework [Netverify]
* Fixed a bug in the data parsing of some older Ohio Driving Licenses [Netverify/Fastfill]
* Various smaller bug fixes/improvements [Netverify/Fastfill, Document Verification, BAM Checkout]

# Basic Setup

Expand Down Expand Up @@ -72,7 +78,7 @@ __Note:__ The abiFilters command in the ndk closure affects the Google Play Stor
```
defaultConfig {
ndk {
abiFilters "armeabi","armeabi-v7a","arm64-v8a","mips","mips64","x86","x86_64"
abiFilters armeabi-v7a","arm64-v8a","x86","x86_64"
}
}
```
Expand All @@ -83,7 +89,7 @@ splits {
abi {
enable true
reset()
include "armeabi","armeabi-v7a","arm64-v8a","mips","mips64","x86","x86_64"
include armeabi-v7a","arm64-v8a","x86","x86_64"
universalApk false
}
}
Expand All @@ -97,7 +103,7 @@ __Note:__ You get an *UnsatisfiedLinkError*, if the app and the CPU architecture
Our SDK supports the [default Android localization features](https://developer.android.com/training/basics/supporting-devices/languages.html) for different languages and cultures.
All label texts and button titles in the SDK can be changed and localized by adding the required Strings you want to change in a `strings.xml` file in a `values` directory for the language and culture preference that you want to support. You can check out strings that are modifiable at [.../src/main/res/values/strings-jumio-sdk.xml](https://github.com/Jumio/mobile-sdk-android/blob/master/sample/JumioMobileSample/src/main/res/values/strings-jumio-sdk.xml) within our Sample application.

For our products Fastfill & Netverify we are providing six individual languages for your convenience:
For our products Fastfill,Netverify & Document Verification we are providing six individual languages for your convenience:
* Chinese (Simplified)
* Dutch
* English
Expand All @@ -115,7 +121,7 @@ Our SDK supports accessibility features. Visually impaired users can now enable
# Support

## Previous version
The previous release version 2.12.0 of the Jumio Mobile SDK is supported until 2018-10-31.
The previous release version 2.12.0 of the Jumio Mobile SDK is supported until 2018-11-23.

In case the support period is expired, no bug fixes are provided anymore (typically fixed in the upcoming versions). The SDK will keep functioning (until further notice).

Expand Down
1 change: 0 additions & 1 deletion docs/integration_netverify-fastfill.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|issuingCountry| String| 3| Country of issue as [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code|
|lastName| String| 100 |Last name of the customer|
|firstName| String| 100 |First name of the customer|
|middleName| String| 100 |Middle name of the customer|
|dob| Date| |Date of birth|
|gender| NVGender| | Gender M, F or X|
|originatingCountry| String| 3| Country of origin as [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code|
Expand Down
5 changes: 5 additions & 0 deletions docs/transition-guide_bam-checkout.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

# Transition guide for BAM Checkout SDK

## 2.13.0
#### Removed deprecated ABIs mips, mips64 and armeabi
These ABIs were deprecated in recent NDK toolsets as mentioned here - https://developer.android.com/ndk/guides/abis and are not used any more.


## 2.12.1
No backward incompatible changes.

Expand Down
7 changes: 7 additions & 0 deletions docs/transition-guide_document-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

# Transition guide for Document Verification SDK

## 2.13.0
#### Removed deprecated ABIs mips, mips64 and armeabi
These ABIs were deprecated in recent NDK toolsets as mentioned here - https://developer.android.com/ndk/guides/abis and are not used any more.

#### New SDK localizations added
In addition to English, the translations for the languages Chinese (Simplified), Dutch, Frensh, German and Spanish have been added.

## 2.12.1
No backward incompatible changes.

Expand Down
7 changes: 7 additions & 0 deletions docs/transition-guide_netverify-fastfill.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

# Transition guide for Netverify & Fastfill SDK

## 2.13.0
#### API change in NetverifyDocumentData
The function `getMiddleName()` has been removed. If a middle name is available, it will be concatinated with the first name.

#### Removed deprecated ABIs mips, mips64 and armeabi
These ABIs were deprecated in recent NDK toolsets as mentioned here - https://developer.android.com/ndk/guides/abis and are not used any more.

## 2.12.1
#### Fixed a problem in which the user could get stuck in the Selfie capturing process

Expand Down
5 changes: 3 additions & 2 deletions sample/JumioMobileSample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:3.1.1"
Expand All @@ -15,7 +16,7 @@ repositories {
}

ext {
SDK_VERSION = "2.12.1"
SDK_VERSION = "2.13.0"
}

dependencies {
Expand Down Expand Up @@ -48,7 +49,7 @@ dependencies {

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
buildToolsVersion "28.0.1"
defaultConfig {
minSdkVersion 19
multiDexEnabled true
Expand Down
4 changes: 1 addition & 3 deletions sample/JumioMobileSample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@

<!-- optional start -->
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <!-- optional end -->
<!-- optional end -->

<application
android:allowBackup="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private void initializeBamSDK() {
// Use the following method to override the SDK theme that is defined in the Manifest with a custom Theme at runtime
//bamSDK.setCustomTheme(R.style.YOURCUSTOMTHEMEID);

} catch (PlatformNotSupportedException e) {
} catch (PlatformNotSupportedException | NullPointerException e) {
e.printStackTrace();
Toast.makeText(getActivity().getApplicationContext(), "This platform is not supported", Toast.LENGTH_LONG).show();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private void initializeBamSDK() {
// Use the following method to override the SDK theme that is defined in the Manifest with a custom Theme at runtime
//bamSDK.setCustomTheme(R.style.YOURCUSTOMTHEMEID);

} catch (PlatformNotSupportedException e) {
} catch (PlatformNotSupportedException | NullPointerException e) {
e.printStackTrace();
Toast.makeText(getActivity().getApplicationContext(), "This platform is not supported", Toast.LENGTH_LONG).show();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void initializeDocumentVerificationSDK() {
// Use the following method to override the SDK theme that is defined in the Manifest with a custom Theme at runtime
//documentVerificationSDK.setCustomTheme(R.style.YOURCUSTOMTHEMEID);

} catch (PlatformNotSupportedException e) {
} catch (PlatformNotSupportedException | NullPointerException e) {
e.printStackTrace();
Toast.makeText(getActivity().getApplicationContext(), "This platform is not supported", Toast.LENGTH_LONG).show();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ private void initializeNetverifySDK() {
// }
// });

} catch (PlatformNotSupportedException e) {
} catch (PlatformNotSupportedException | NullPointerException e) {
android.util.Log.e(TAG, "Error in initializeNetverifySDK: ", e);
Toast.makeText(getActivity().getApplicationContext(), e.getMessage(), Toast.LENGTH_LONG).show();
netverifySDK = null;
Expand Down Expand Up @@ -620,7 +620,6 @@ public void onNetverifyFinished(NetverifyDocumentData documentData, String scanR
appendKeyValue("Issuing country", documentData.getIssuingCountry());
appendKeyValue("Last name", documentData.getLastName());
appendKeyValue("First name", documentData.getFirstName());
appendKeyValue("Middle name", documentData.getMiddleName());
appendKeyValue("Date of birth", documentData.getDob() == null ? null : dateFormat.format(documentData.getDob()));
appendKeyValue("Gender", documentData.getGender() == null ? null : documentData.getGender().toString());
appendKeyValue("Originating country", documentData.getOriginatingCountry());
Expand Down Expand Up @@ -714,8 +713,8 @@ public void onNetverifyNoUSAddressFound() {
}

@Override
public void onNetverifyFaceOnBackside() {
addToCallbackLog("onNetverifyFaceOnBackside");
public void onNetverifyDisplayFlipDocumentHint() {
addToCallbackLog("onNetverifyDisplayFlipDocumentHint");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void initializeNetverifySDK() {
// }
// });

} catch (PlatformNotSupportedException e) {
} catch (PlatformNotSupportedException | NullPointerException e) {
Log.e(TAG, "Error in initializeNetverifySDK: ", e);
Toast.makeText(getActivity().getApplicationContext(), e.getMessage(), Toast.LENGTH_LONG).show();
netverifySDK = null;
Expand Down

0 comments on commit 77d933c

Please sign in to comment.