# React Native Module Changelog

Please find below notable changes made to the React Native Module

Changes marked in bold are possibly breaking. Please, pay special attention to them.

# Version 1.18.2

Released on 2021-10-20

  • Completely revised customization API
  • Refreshed user interface
  • Added ability to show Instructions screens
  • Added optional level-based initialization (it will become the only way to initialize in next versions)
  • API level 21 (Android 5.0) or higher is required as from now
  • iOS 15 related fixes

# Version 1.17.5

Released on 2021-07-07

  • Preparations for customization revamp
  • Minor bug fixes

# Version 1.17.4

Released on 2021-05-27

  • Improved Liveness performance
  • Minor bug fixes

# Version 1.17.0

Released on 2021-04-09

  • Added support for Module flow type
  • Fixed the issue when camera stops sending frames under iOS 14
  • Minor bug fixes

# Version 1.16.1

Released on 2021-03-11

  • Added an option to disable the document type and country selectors for Identity Document steps
  • Added support for RTL languages
  • Minor bug fixes

# Version 1.16.0

Released on 2021-02-20

  • Reworked Identity Document submission:
    • Added Country of issue and Document Type preselectors
    • Added new Fast Fail feedback system to show if the submission has any issues
  • Unified PoA and unknown docs backside collection (now asks user all the time)
  • Minor bug fixes

# Version 1.15.1

Released on 2021-02-11

  • Synchronized with Android SDK 1.15.1
  • Minor bug fixes

# Version 1.15.0

Released on 2021-01-19

  • Added document photo autorotation
  • Improved Liveness perfomance
  • Improved Camera-related error handling
  • Minor bug fixes

# Version 1.14.3

Released on 2020-12-24

  • Fix to unify onStatusChanged parameters meaning for both iOS and Android platforms
  • Android Gradle plugin upgraded to 4.1.1
  • Minor bug fixes

# Version 1.14.2

Released on 2020-12-11

  • Improved low-light performance for our liveness detection
  • Enhanced security
  • Minor bug fixes
  • onActionResult optional handler added that allows you to handle the action's result upon it's arrival from the backend. The user sees the "Processing..." screen at this moment.
.withHandlers({
  onActionResult: (result) => {
    console.log("onActionResult: " + JSON.stringify(result));

    // you must return a `Promise` that in turn should be resolved with
    // either `cancel` to force the user interface to close, or `continue` to proceed as usual
    return new Promise(resolve => {
      resolve("continue");
    })
  }
})

# Version 1.13.1

Released on 2020-10-22

  • Result structure is unified to return status field for both iOS and Android platforms
{
	"success": false,
	"status": "Failed",
	"errorType": "Unauthorized",
	"errorMsg": "Unauthorized access with accessToken=[your access token]"
}
  • Support for Face authentication applicant action. When an action has been completed, the status will be set to ActionCompleted and the resulting structure will contain the actionResult field that describes the outcome of the last invocation. An empty value of actionResult.answer means that the action was cancelled.
{
	"success": true,
	"status": "ActionCompleted",
	"actionResult": {
		"actionId": "{someid}",
		"answer": "GREEN"
	}
}
  • .withHandlers() builder option added
.withHandlers({
	onStatusChanged: (event) => {
		console.log("onStatusChanged: [" + event.prevStatus + "] => [" + event.newStatus + "]");
	},
	onLog: (event) => {
		console.log("onLog: [Idensic] " + event.message);
	},
})

# Version 1.13.0

Released on 2020-10-02

  • Support for the FaceScan mode of the Liveness module

# Version 1.12.2

Released on 2020-09-01

  • Support for Selfie with Document
  • Validation for Phone, Email and Date of Birth has been added at the APPLICANT_DATA step
  • If needed, a general moderation comment will be shown when the applicant is rejected
  • Support for <b> and <i> tags within the sns_step_*_prompt strings
  • An omission of the numeric prefix when there is the only one step on the initial Status Screen
  • Drawing of the submitted state when the liveness result is uncertain, but the applicant is allowed to proceed
  • Strings added: sns_step_SELFIE_photo_title, sns_step_SELFIE_photo_brief, sns_step_SELFIE_photo_details, sns_liveness_check_submitted
  • Some small bug fixes
  • A way to customize the iOS part with native means by an IdensicMobileSDKCustomization class that could be added into the iOS project:
import Foundation
import IdensicMobileSDK

class IdensicMobileSDKCustomization: NSObject {

  @objc static func apply(_ sdk: SNSMobileSDK) {

    sdk.theme.sns_StatusHeaderTitleColor = .red
  }
}

# Version 1.12.1

Released on 2020-08-17

  • dismiss() method added to make SDK dismission easier
  • Extended error handling upon uploading fail
  • Added the option to choose a photo from the photo gallery at the PROOF_OF_RESIDENCE step

Make sure to have the NSPhotoLibraryUsageDescription string in the iOS application's Info.plist file

plutil -insert "NSPhotoLibraryUsageDescription" -string "Let's pick a photo" ios/${PWD##*/}/Info.plist

# Version 1.12.0

Released on 2020-08-03

  • Support for the APPLICANT_DATA step
  • Ability to force locale with the withLocale optional method

# Version 1.11.0

Released on 2020-07-07

  • Applicant flow based initialization (the flowName mandatory parameter has been added)
  • Translations are now managed from the dashboard
  • .withDebug(boolean) builder option added
  • .withSupportEmail(string) builder option added
  • Various security related improvements

# Version 1.10.2

Released on 2020-06-08

  • Initial release
Last Updated: 10/20/2021, 11:20:54 AM