Skip to content

Commit

Permalink
Release commit for 3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JumioMobileTeam committed Aug 20, 2020
1 parent a30ffd3 commit 6558225
Show file tree
Hide file tree
Showing 21 changed files with 65 additions and 92 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Please refer to our [Change Log](docs/changelog.md) for more information about o
# Support

## Previous Version
The previous release version 3.6.2 of the Jumio Mobile SDK is supported until 2020-11-06.
The previous release version 3.7.0 of the Jumio Mobile SDK is supported until 2020-11-20.

In case the support period is expired, no bug fixes and technical support are provided anymore. Current bugs are typically fixed in the upcoming versions.
Older SDK versions will keep functioning with our server until further notice, but we highly recommend to always update to the latest version to benefit from SDK improvements and bug fixes.
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# Change Log
All notable changes, such as SDK releases, updates and fixes, are documented in this file.

## SDK Version: __3.7.1__
![Fixes](https://img.shields.io/badge/Fix-success) Fixed problem in handling the user consent [ID Verification, Authentication]

## SDK Version: __3.7.0__
![Changes](https://img.shields.io/badge/Change-blue) Full redesign of NFC passport workflow [ID Verification]

Expand Down
10 changes: 5 additions & 5 deletions docs/integration_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Biometric-based Jumio Authentication establishes the digital identities of your
- [Javadoc](https://jumio.github.io/mobile-sdk-android/)

## Release notes
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.0
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.1

For breaking technical changes, please read our [transition guide](transition-guide_authentication.md)

Expand Down Expand Up @@ -43,9 +43,9 @@ Below there is a list of dependices the application will need to work in Android
```
dependencies {
// mandatory
implementation "com.jumio.android:core:3.7.0@aar" // Jumio Core library
implementation "com.jumio.android:auth:3.7.0@aar" // Authentication library
implementation "com.jumio.android:face:3.7.0@aar" // Face library
implementation "com.jumio.android:core:3.7.1@aar" // Jumio Core library
implementation "com.jumio.android:auth:3.7.1@aar" // Authentication library
implementation "com.jumio.android:face:3.7.1@aar" // Face library
implementation "com.facetec:zoom-authentication:8.0.11@aar" // // Zoom face scanning library
Expand All @@ -56,7 +56,7 @@ dependencies {
implementation "com.google.android.material:material:1.1.0"
// not mandatory
implementation "com.jumio.android:javadoc:3.7.0"
implementation "com.jumio.android:javadoc:3.7.1"
}
```
__Note:__ Version numbers may vary.
Expand Down
8 changes: 4 additions & 4 deletions docs/integration_bam-checkout.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BAM Checkout SDK is a powerful, cutting-edge solution to extract data from your
- [Javadoc](https://jumio.github.io/mobile-sdk-android/)

## Release notes
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.0
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.1

For breaking technical changes, please read our [transition guide](transition-guide_bam-checkout.md)

Expand Down Expand Up @@ -44,16 +44,16 @@ Below there is a list of dependices the application will need to work in Android
```
dependencies {
// mandatory
implementation "com.jumio.android:core:3.7.0@aar" // Jumio Core library
implementation "com.jumio.android:bam:3.7.0@aar" // BAM checkout library
implementation "com.jumio.android:core:3.7.1@aar" // Jumio Core library
implementation "com.jumio.android:bam:3.7.1@aar" // BAM checkout library
implementation "androidx.appcompat:appcompat:1.1.0"
implementation "androidx.room:room-runtime:2.2.5"
implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
implementation "com.google.android.material:material:1.1.0"
// not mandatory
implementation "com.jumio.android:javadoc:3.7.0"
implementation "com.jumio.android:javadoc:3.7.1"
}
```
__Note:__ If you use ID Verification together with BAM Checkout in your app, add additional dependencies from the Integration chapter from the [ID Verification & Fastfill integration guide](integration_id-verification-fastfill.md).
Expand Down
8 changes: 4 additions & 4 deletions docs/integration_document-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Document Verification is a powerful solution to enable scanning various types (U
- [Javadoc](https://jumio.github.io/mobile-sdk-android/)

## Release notes
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.0
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.1

For breaking technical changes, please read our [transition guide](transition-guide_document-verification.md)

Expand All @@ -43,8 +43,8 @@ Below there is a list of dependices the application will need to work in Android
```
dependencies {
// mandatory
implementation "com.jumio.android:core:3.7.0@aar" // Jumio core library
implementation "com.jumio.android:dv:3.7.0@aar" // Document verification library
implementation "com.jumio.android:core:3.7.1@aar" // Jumio core library
implementation "com.jumio.android:dv:3.7.1@aar" // Document verification library
implementation "androidx.appcompat:appcompat:1.1.0"
implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
Expand All @@ -54,7 +54,7 @@ dependencies {
// not mandatory
implementation "com.jumio.android:javadoc:3.7.0"
implementation "com.jumio.android:javadoc:3.7.1"
}
```
__Note:__ Version numbers may vary.
Expand Down
34 changes: 17 additions & 17 deletions docs/integration_id-verification-fastfill.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Jumio’s ID Verification allows businesses to establish the genuine identity of
- [Javadoc](https://jumio.github.io/mobile-sdk-android/)

## Release notes
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.0
Please refer to our [Change Log](changelog.md) for more information. Current SDK version: 3.7.1


For breaking technical changes, please read our [transition guide](transition-guide_id-verification-fastfill.md)
Expand All @@ -44,8 +44,8 @@ Below there is a list of dependices the application will need to work in Android
```
dependencies {
// mandatory
implementation "com.jumio.android:core:3.7.0@aar" // Jumio Core library
implementation "com.jumio.android:nv:3.7.0@aar" // Netverify library
implementation "com.jumio.android:core:3.7.1@aar" // Jumio Core library
implementation "com.jumio.android:nv:3.7.1@aar" // Netverify library
implementation "androidx.appcompat:appcompat:1.1.0"
implementation "androidx.cardview:cardview:1.0.0"
Expand All @@ -57,18 +57,18 @@ dependencies {
// not mandatory
implementation "com.jumio.android:face:3.7.0@aar" // Face library
implementation "com.jumio.android:nv-barcode:3.7.0@aar" // barcode scanning
implementation "com.jumio.android:nv-barcode-vision:3.7.0@aar" // barcode scanning alternative (reduced size)
implementation "com.jumio.android:nv-mrz:3.7.0@aar" // MRZ scanning
implementation "com.jumio.android:nv-nfc:3.7.0@aar" // eMRTD scanning
implementation "com.jumio.android:dv:3.7.0@aar" // Document verification library
implementation "com.jumio.android:nv-ocr:3.7.0@aar" // Template matcher
implementation "com.jumio.android:auth:3.7.0@aar" // Authentication library
implementation "com.jumio.android:bam:3.7.0@aar" // BAM checkout library
implementation "com.jumio.android:javadoc:3.7.0"
implementation "com.jumio.android:face:3.7.1@aar" // Face library
implementation "com.jumio.android:nv-barcode:3.7.1@aar" // barcode scanning
implementation "com.jumio.android:nv-barcode-vision:3.7.1@aar" // barcode scanning alternative (reduced size)
implementation "com.jumio.android:nv-mrz:3.7.1@aar" // MRZ scanning
implementation "com.jumio.android:nv-nfc:3.7.1@aar" // eMRTD scanning
implementation "com.jumio.android:dv:3.7.1@aar" // Document verification library
implementation "com.jumio.android:nv-ocr:3.7.1@aar" // Template matcher
implementation "com.jumio.android:auth:3.7.1@aar" // Authentication library
implementation "com.jumio.android:bam:3.7.1@aar" // BAM checkout library
implementation "com.jumio.android:javadoc:3.7.1"
implementation "com.google.android.gms:play-services-vision:19.0.0" // barcode scanning alternative
implementation "com.facetec:zoom-authentication:8.12.1@aar" // Zoom face scanning library
Expand Down Expand Up @@ -117,7 +117,7 @@ In case of __DIALOG_PENDING__, the `requestCode` provided in the method above ca
If you use ID Verification or Fastfill together with BAM Checkout in your app, add the following dependency:

```
implementation "com.jumio.android:bam:3.7.0@aar"
implementation "com.jumio.android:bam:3.7.1@aar"
```

#### Root detection
Expand Down Expand Up @@ -377,7 +377,7 @@ The following tables give information on the specification of all document data
|optionalData2| String| 50 |Optional field of MRZ line 2|
|placeOfBirth| String| 255 |Place of Birth |
|extractionMethod| NVExtractionMethod| |Extraction method used during scanning (MRZ, OCR, BARCODE, BARCODE_OCR or NONE) |
|imageData| NetverifyImageData| |Wrapper class for accessing image data for all scan sides from from an ID verification session in case this is enabled by your Account Manager.|
|imageData| NetverifyImageData| |Wrapper class for accessing image data for all scan sides from an ID verification session in case this is enabled by your Account Manager. See [NetverifyImageData](https://jumio.github.io/mobile-sdk-android/com/jumio/nv/NetverifyImageData.html) for details on how to retrieve the images|


#### Class ____NetverifyMrzData___
Expand Down
4 changes: 3 additions & 1 deletion docs/transition-guide_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

This section only covers the breaking technical changes that should be considered when updating from the previous version.

## 3.7.0
## 3.7.1
No backward incompatible changes

## 3.7.0
#### Dependency changes
* Room updated: ~~"androidx.room:room-runtime:2.2.3"~~ is replaced by "androidx.room:room-runtime:2.2.5"

Expand Down
4 changes: 3 additions & 1 deletion docs/transition-guide_bam-checkout.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

This section only covers the breaking technical changes that should be considered when updating from the previous version.

## 3.7.0
## 3.7.1
No backward incompatible changes

## 3.7.0
#### Dependency changes
* Room updated: ~~"androidx.room:room-runtime:2.2.3"~~ is replaced by "androidx.room:room-runtime:2.2.5"

Expand Down
4 changes: 3 additions & 1 deletion docs/transition-guide_document-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

This section only covers the breaking technical changes that should be considered when updating from the previous version.

## 3.7.0
## 3.7.1
No backward incompatible changes

## 3.7.0
#### Dependency changes
* Room updated: ~~"androidx.room:room-runtime:2.2.3"~~ is replaced by "androidx.room:room-runtime:2.2.5"

Expand Down
4 changes: 3 additions & 1 deletion docs/transition-guide_id-verification-fastfill.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

This section only covers the breaking technical changes that should be considered when updating from the previous version.

## 3.7.0
## 3.7.1
No backward incompatible changes

## 3.7.0
#### Dependency changes
* Room updated: ~~"androidx.room:room-runtime:2.2.3"~~ is replaced by "androidx.room:room-runtime:2.2.5"
* JMRTD updated: ~~"org.jmrtd:jmrtd:0.7.18"~~ is replaced by "org.jmrtd:jmrtd:0.7.19"
Expand Down
2 changes: 1 addition & 1 deletion sample/JumioMobileSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repositories {
}

ext {
SDK_VERSION = "3.7.0"
SDK_VERSION = "3.7.1"
}

dependencies {
Expand Down
20 changes: 14 additions & 6 deletions sample/JumioMobileSample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@

<application
android:allowBackup="false"
android:icon="@drawable/ic_launcher"
android:networkSecurityConfig="@xml/network_security_config"
android:label="@string/app_name"
android:supportsRtl="true">

<!-- KOTLIN -->
<activity
android:name="com.jumio.sample.kotlin.MainActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|layoutDirection"
android:label="@string/app_name"
android:label="@string/app_name_kotlin"
android:taskAffinity="com.jumio.sample.kotlin.MainActivity"
android:launchMode="singleTask"
android:icon="@drawable/ic_launcher_kotlin"
android:theme="@style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand All @@ -38,7 +39,7 @@
<activity
android:name="com.jumio.sample.kotlin.netverify.customui.NetverifyCustomActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|layoutDirection"
android:label="@string/app_name"
android:label="@string/app_name_kotlin"
android:theme="@style/AppTheme.NetverifyCustom"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity">
Expand All @@ -48,14 +49,21 @@
<activity
android:name="com.jumio.sample.java.MainActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|layoutDirection"
android:label="@string/app_name"
android:label="@string/app_name_java"
android:taskAffinity="com.jumio.sample.java.MainActivity"
android:launchMode="singleTask"
android:icon="@drawable/ic_launcher_java"
android:theme="@style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

<activity
android:name="com.jumio.sample.java.netverify.customui.NetverifyCustomActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|layoutDirection"
android:label="@string/app_name"
android:label="@string/app_name_java"
android:theme="@style/AppTheme.NetverifyCustom"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ public void onClick(View v) {
customScanContainer.setVisibility(View.GONE);
authenticationSettingsContainer.setVisibility(View.VISIBLE);
} else if (v == faceButton && isSDKControllerValid()) {

scrollView.post(new Runnable() {
@Override
public void run() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
modeType = NetverifyCustomScanView.MODE_FACE;
customScanView = root.findViewById(R.id.fragment_nv_custom_scan_view);

setScanViewCloseButtonParameters();

Rect rectangle = new Rect();
if (getActivity() != null) {
getActivity().getWindow().getDecorView().getWindowVisibleDisplayFrame(rectangle);
Expand Down Expand Up @@ -202,28 +200,6 @@ private void showDocumentHelpAnimation() {
customScanViewPresenter.getHelpAnimation(customAnimationView);
}

/**
* Set parameters (size, placement) of 'X' close button in face scan view
*/
private void setScanViewCloseButtonParameters() {
// TODO:
// Rect rectangle = new Rect();
// if(getActivity().getWindow() != null) {
// getActivity().getWindow().getDecorView().getWindowVisibleDisplayFrame(rectangle);
// TypedValue tv = new TypedValue();
// int actionBarHeight = 0;
// if (getActivity().getTheme().resolveAttribute(R.attr.actionBarSize, tv, true)) {
// actionBarHeight = TypedValue.complexToDimensionPixelSize(tv.data, getResources().getDisplayMetrics());
// }
// int buttonDimens = actionBarHeight / 4;
// customScanView.setCloseButtonWidth( (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, buttonDimens, getContext().getResources().getDisplayMetrics()));
// customScanView.setCloseButtonHeight( (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, buttonDimens, getContext().getResources().getDisplayMetrics()));
// customScanView.setCloseButtonTop(rectangle.top + (actionBarHeight / 2));
// customScanView.setCloseButtonLeft(rectangle.left);
// customScanView.setCloseButtonResId(R.drawable.jumio_close_button);
// }
}

/**
* Starts face scanning over again, if face scan went wrong for whatever reason
* (e.g. it was manually cancelled by user, the lighting was too dark, etc.)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ class NetverifyCustomScanFragment : Fragment(), View.OnClickListener {
modeType = NetverifyCustomScanView.MODE_FACE
customScanView = root.findViewById(R.id.fragment_nv_custom_scan_view)

setScanViewCloseButtonParameters()

customScanView?.mode = modeType

tvHelp = root.findViewById(R.id.fragment_nv_custom_scan_face_helptext)
Expand All @@ -111,12 +109,12 @@ class NetverifyCustomScanFragment : Fragment(), View.OnClickListener {
modeType = NetverifyCustomScanView.MODE_ID
customScanView = root.findViewById(R.id.fragment_nv_custom_scan_view)
customScanView?.mode = modeType
btnSkipNfc = root.findViewById(R.id.fragment_custom_scan_btn_skip_nfc)
btnSkipNfc?.setOnClickListener(this)
}

btnCapture = root.findViewById(R.id.fragment_custom_scan_btn_capture)
btnCapture?.setOnClickListener(this)
btnSkipNfc = root.findViewById(R.id.fragment_custom_scan_btn_skip_nfc)
btnSkipNfc?.setOnClickListener(this)

loadingIndicator = root.findViewById(R.id.fragment_nv_custom_loading_indicator)
customConfirmationView = root.findViewById(R.id.fragment_nv_custom_confirmation_view)
Expand Down Expand Up @@ -155,26 +153,6 @@ class NetverifyCustomScanFragment : Fragment(), View.OnClickListener {
customScanViewPresenter?.getHelpAnimation(customAnimationView)
}

/**
* Set parameters (size, placement) of 'X' close button in face scan view
*/
private fun setScanViewCloseButtonParameters() {
// TODO:
// val rectangle = Rect()
// activity?.window?.decorView?.getWindowVisibleDisplayFrame(rectangle)
// val tv = TypedValue()
// var actionBarHeight = 0
// if (activity!!.theme.resolveAttribute(R.attr.actionBarSize, tv, true)) {
// actionBarHeight = TypedValue.complexToDimensionPixelSize(tv.data, resources.displayMetrics)
// }
// var buttonDimens = actionBarHeight.toFloat() / 4
// customScanView?.closeButtonWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, buttonDimens, context?.resources?.displayMetrics).toInt()
// customScanView?.closeButtonHeight = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, buttonDimens, context?.resources?.displayMetrics).toInt()
// customScanView?.closeButtonTop = rectangle.top + (actionBarHeight / 2)
// customScanView?.closeButtonLeft = rectangle.left
// customScanView?.closeButtonResId = R.drawable.jumio_close_button
}

/**
* Starts face scanning over again, if face scan went wrong for whatever reason
* (e.g. it was manually cancelled by user, the lighting was too dark, etc.)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion sample/JumioMobileSample/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">

<!-- APP STRINGS -->
<string name="app_name">Jumio Sample</string>
<string name="app_name_java">Jumio Sample Java</string>
<string name="app_name_kotlin">Jumio Sample Kotlin</string>
<string name="title_activity_main">MainActivity</string>
<string name="button_start">Start %1$s</string>
<string name="section_netverify">Netverify</string>
Expand Down

0 comments on commit 6558225

Please sign in to comment.