DocumentationAPI Reference
DocumentationAPI ReferenceStatus

React Native Changelog

Changes, Fixes, and Features for the React Native wrapper

[v2.5.0] - 2023-05-17

Changed

  • Upgrade to iOS Inquiry SDK 2.8.0

    [v2.8.0] - 2023-04-14

    Added

    • Added new InquiryTemplateBuilder and InquiryBuilder to simplify creation of Inquiry objects. Acquire a builder with new Inquiry.from methods.

    [v2.7.4] - 2023-04-03

    Added

    • Added support for e-signature components.
    • Added functionality to extract text from government documents on the client.

    Changed

    • Now respecting the property overrideUserInterfaceStyle on window or view controller that presents the persona flow.

    Fixed

    • Fixed a memory leak.
  • Upgrade to Android Inquiry SDK 2.6.1

    [v2.6.1] - 2023-05-16

    Changed

    • Now setting status bar color to match default background color for initial loading screen.
    • Try multiple configurations for video capture if the first configuration doesn't work.
    • Dismiss capture tips screen on back press instead of navigating back.

    Fixed

    • Fix a possible crash that can occur if using Android Gradle Plugin 8.0.0 on Android 13.
    • Fix a rare crash with video capture.
    • Fix a layout bug with margins on input date select components.

    [v2.6.0]

    Changed

    • UI UPDATES: GOVERNMENT ID CAMERA CAPTURE SCREEN
      We’ve changed the animation that plays on the screen where the user is asked to take a photo of their government ID. The previous animation featured a line sweeping back and forth, horizontally. This animation has been replaced with a more subtle sweeping animation around the border of the camera preview frame. The new animation is designed to be performant and distraction-free. It is rendered with custom code for better performance. We've also added a button to the government id capture screen that displays capture tips when tapped. This change was made to improve the quality of photos captured by the user. If you have any questions about these changes, please reach out to your CSM.

    Fixed

    • Fixed a rare native library crash where the native library could not be found due to an

    [v2.5.1] - 2023-04-06

    Changed

    • Update dependencies.

    Fixed

    • Fixed a bug that would cause government id steps to trigger auto capture immediately if auto capture is disabled.

    [v2.5.0] - 2023-04-03

    Added

    • Added the ability to load static templates from bundled json files. This can be accessed with the fromStaticTemplate(staticInquiryTemplate: StaticInquiryTemplate) function. Note that this is currently an experimental feature.
    • Added support for inquiries that require video capture.
    • Added functionality to extract text from government documents on the client.

    Changed

    • Upgrade Lottie to 6.0.0.

    Fixed

    • Fixed a crash that could occur when we failed to open a network connection for remote animation assets.

    [v2.4.1] - 2023-03-29

    Fixed

    • Return InquiryResponse.Cancel instead of InquiryResponse.Error if the SDK was killed due to an activity starting in a new task. Eg. an activity started with the singleTask flag.

[v2.4.4] - 2023-03-08

Changed

  • Upgrade to iOS Inquiry SDK 2.7.3

    [v2.7.3] - 2023-03-08

    Fixed

    • Fixed a layout bug that caused some texts to not render on iOS 14.

[v2.4.3] - 2023-03-06

Changed

  • Upgrade to iOS Inquiry SDK 2.7.2

    [v2.7.2] - 2023-03-06

    Fixed

    • Fixed a networking error.

    Removed

    • Removed vendorized JsonLogic types from our public interface.

[v2.4.2] - 2023-03-02

Changed

  • Upgrade to iOS Inquiry SDK 2.7.1

    [v2.7.1] - 2023-03-02

    Fixed

    • Fixed an issue with app store connect rejecting our framework for usage of CIFalseColor.inputImage.

    Removed

    • Removed the dismiss button on permission info modal after App Store Rejection from Apple.
      Per Apple, "A message appears before the permission request, and the user can close the
      message and delay the permission request with the “Don’t Enable” button. The user should
      always proceed to the permission request after the message."

Fixed

  • Fixed an iOS compiler bug that prevented our module from linking on select architectures (rosetta simulator and physical devices).

[v2.4.1] - 2023-02-27

Changed

  • No longer enforcing use_frameworks! requirement for iOS / Cocoapods, allowing RNPersonaInquiry2 to compile as a dynamic framework within cocoapods. This breaks support for Cocoapods 1.9.3.

[v2.4.0] - 2023-02-24

Changed

  • Upgrade to iOS Inquiry SDK 2.7.0

    [v2.7.0] - 2023-02-22

    Changed

    • Deprecated the InquiryTheme() constructor. The InquiryTheme(themeSource: ThemeSource) constructor should be used instead. Pass in .server to use theming set in the Persona Dashboard. Pass in .client to keep current behavior that uses the client side theming api. Note that .client is also marked as deprecated.
  • Upgrade to Android Inquiry SDK 2.4.0

    [v2.4.0] - 2023-02-22

    Changed

    • Deprecated the theme(@StyleRes theme: Int) function. theme(themeSource: ThemeSource) should be used instead. Pass in ServerThemeSource(@StyleRes theme: Int) to use theming set in the Persona Dashboard. Pass in ClientThemeSource(theme: Int) with your current client theme id to keep the current behavior that only uses client side theming. Note that ClientThemeSource is also marked as deprecated.
  • Deprecated the iosTheme(themeObject: Object) functions. The iosThemeToUse(themeObject: Object, themeSource: ThemeSource) functions should be used instead. Pass in a themeSource of ThemeSource.SERVER to use theming set in the Persona Dashboard. Pass in ThemeSource.CLIENT to keep current behavior that uses the client. Note that ThemeSource.CLIENT is also marked as deprecated. Also note that the Android theme source will be derived from this ThemeSource as well. If iosTheme is called instead of iosThemeToUse, ThemeSource.Client will be used. If neither iosThemeToUse nor iosTheme is called, ThemeSource.SERVER will be used by default. The themeObject can still be used to control certain properties like the initial loading icon even when the theme source is set to ThemeSource.SERVER.

[v2.3.0] - 2023-02-16

Added

  • Added optional support to receive data collected during inquiry flow on completion.

Changed

  • Upgrade to iOS Inquiry SDK 2.6.2

    [v2.6.2] - 2023-02-14

    Fixed

    • Fixed a weak retention issue that could result in extra callbacks of inquiryError

    [v2.6.1] - 2023-02-13

    Fixed

    • Fixed buttons inside footer on ui steps will now disable properly after being tapped.

    [v2.6.0] - 2023-02-10

    Added

    • Added an optional client side callback to return the data collected during the inquiry flow to the host application.

    Fixed

    • Remote image assets now match Android / Web loading behavior and height.
    • Selfie flow on iOS Simulator no longer allows you to mash the shutter button and produce a network error.
  • Upgrade to Android Inquiry SDK 2.3.6

    [v2.3.6] - 2023-02-13

    Added

    • Added welsh translations.
    • Added titles to camera permission modals.

    Changed

    • Update dependencies.

    Fixed

    • Fixed an issue where images could sometimes be cut-off if the value sent from the server was too large.

[v2.2.30] - 2023-01-25

Changed

  • Upgrade to iOS Inquiry SDK 2.5.11

    [v2.5.11] - 2023-01-25

    Added

    • Added support for input radio group components.

    Fixed

    • Fixed an issue where some camera feeds were not showing previews.

    [v2.5.10] - 2023-01-12

    Added

    • Added optional parameter, animated, to Inquiry.start() to disable the presentation and dismiss animation when launching the persona flow.

    Changed

    • Users will receive an error message when sdk fails to load a photo during document flow instead of flow resulting in an error.

    Fixed

    • Improved camera focus for iPhone 13 and 14 Pro / Pro max devices.
    • Now requesting camera permission prior to launching document scanner during document flow.

    [v2.5.9] - 2023-01-10

    Added

    • Added support for Welsh.

    Fixed

    • Fixed a crash on iOS 15 related to usage of Realm.

    [v2.5.8] - 2023-01-10

    Fixed

    • Fixed a bug with some government id image uploads.
    • Added better error handling when the dimensions of the uploaded government id are not accepted by the server.

    [v2.5.7] - 2023-01-06

    Fixed

    • Resuming a document flow will now load existing files
    • Fixed various styling and SST properties on document flows

    [v2.5.5] - 2022-12-19

    Fixed

    • Fixed a bug with checkboxes not applying the correct state.
  • Upgrade to Android Inquiry SDK 2.3.5

    [v2.3.5] - 2023-01-25

    Fixed

    • Fixed a performance issue with input select bottom sheets that contained a large number of options.
    • Expose classes of objects returned by collection mode in the SDK.

    [v2.3.4] - 2023-01-23

    Fixed

    • Fixed input radio button component titles and prefill behavior.

    Added

    • Added the ability to use custom processing animations on the document processing screen.
    • Added status bar coloring behavior to match the background color of each page automatically
      when using styles from the server.
    • Added collection mode. When enabled, the SDK will return all locally collected data from the inquiry on inquiry completion.
    • Added support for radio button components

    Changed

    • Removed drop shadows from document card previews.

    [v2.3.3] - 2023-01-17

    Fixed

    • Fixed problems with government id hint capture text alignment and border radii

    [v2.3.2] - 2023-01-12

    Fixed

    • Fixed an issue where centering vertically on pages wasn't working.
    • Camera feed radii did not match border radii around the feed.
    • Apply the correct font family from the server to disclaimer texts on capture steps.
    • Fixed broken text alignment when supportsRtl is not set to true in the hosting app manifest.

    [v2.3.1] - 2023-01-10

    Added

    • Support for various customizations and polish items on document upload steps.

    Changed

    • Improve handling of certain network errors.
    • Document file uploads will now use progress bars instead of loading spinners.

[v2.2.29] - 2022-12-15

Changed

  • Upgrade to iOS Inquiry SDK 2.5.4

    [v2.5.4] - 2022-12-15

    Added

    • Added support for server sheet corner radius style.
  • Upgrade to Android Inquiry SDK 2.3.0

    [v2.3.0] - 2022-12-15

    Changed

    • Make nfc-impl module an extension module that is not include dy default.
    • Upgraded minimum SDK to 33.

    [v2.2.46] - 2022-12-01

    Changed

    • Downgraded minimum SDK from 33.

[v2.2.28] - 2022-11-30

Changed

  • Upgrade to iOS Inquiry SDK 2.5.3

    [v2.5.3] - 2022-11-30

    Changed

    • Improved checkbox component UI and styling.

    [v2.5.2] - 2022-11-21

    Added

    • Added support for government id localization overrides.

    Fixed

    • Fixed an issue where Gov id titles and prompts are not visible.
    • Fixed an issue where disabled button text is not visible in dark mode.

    [v2.5.1] - 2022-11-18

    Added

    • Added support for rendering QR code components.
    • Added improved error handling for document verification flows.
    • Added support for custom start screens on document verification flows.

    Changed

    • Removed section indexes from country select when there are few countries.
  • Upgrade to Android Inquiry SDK 2.2.45

    [v2.2.45] - 2022-11-30

    Added

    • Added some validations for SDK arguments.

    Fixed

    • Fixed a crash when using split screen mode during the government id flow and the screen is resized.
    • Fixed a crash when split screen is enabled and the permission modal is shown.

    [v2.2.44] - 2022-11-18

    Fixed

    • Fixed an issue where the selfie capture progress bar was too thin.

    Added

    • Added support for government id localization overrides.

[v2.2.27] - 2022-11-16

Changed

  • Upgrade to iOS Inquiry SDK 2.5.0

    [v2.5.0] - 2022-11-08

    Changed

    • Minimum deployment target is now iOS 13.0.

    Fixed

    • Fixed an issue where the processing animations stuttered after the camera feed was closed.

    Added

    • Added ability to configure margins on input components via the server.
    • Added the ability to use custom copy for permissions modals via the server.
  • Upgrade to Android Inquiry SDK 2.2.43

    [v2.2.43] - 2022-11-16

    Added

    • Added the ability to use custom copy for permissions modals via the server.
    • Added support for rendering QR code components.

    Changed

    • Document verification flow now uploads files prior to submit.
    • Improve error logging for certain types of errors.

    Fixed

    • Fixed lateinit crash on camera screens.
    • Fixed a rare network error crash.
    • Fixed a crash if activity is killed and resumed while permission modal is shown.
    • Fixed an ANR that can occur if permissions are accepted after the activity has been killed and recreated.
    • Fixed a bug where input select components would not render correctly if multiple input select
      components existed on a single screen.

    [v2.2.42] - 2022-11-08

    Added

    • Added ability to configure margins on input components via the server.
    • Added the photo picker as an option when choosing documents to upload.
    • Added the ability to render the document combined step start screen as a configurable server driven screen.
    • Added improved error handling for document verification flows.

    Changed

    • Improved accessibility throughout the flows, including talkback, touch target size, and speakable text.

[v2.2.26] - 2022-10-20

Changed

  • Upgrade to iOS Inquiry SDK 2.4.3

    [v2.4.3] - 2022-10-20

    Added

    • Added support for customizing cancel modal texts via the server.
  • Upgrade to Android Inquiry SDK 2.2.41

    [v2.2.41] - 2022-10-19

    Added

    • Added support for styling image preview borders in document flows.
    • Added support for customizing cancel modal texts via the server.

    Changed

    • Update dependencies.
    • Input Select component now has sticky header and blocks clicks on background components.

    Fixed

    • Don't allow buttons to run up against the edge of the screen when using margins from the server.

[v2.2.25] - 2022-10-06

Changed

  • Upgrade to iOS Inquiry SDK 2.4.2

    [v2.4.2] - 2022-09-30

    Added

    • Added the ability to style the upload government id flow via the server.
    • Added support for json logic for hiding and disabling various ui components.
    • Added the ability to use mDLs in the SDK.
    • Added public logging for load times.

    Changed

    • Relaxed blur detection on government id autocapture for pro max devices.

    Fixed

    • Auto-capture during selfie flow will now pause while user is presented with cancel modal.

    [v2.4.1] - 2022-09-23

    Changed

    • Moved the Sandbox force verification pass/fail menu to top of screen and added the button to camera screens.
    • Now surfacing clearer error message when invalid fields value is supplied on InquiryConfiguration.

    Added

    • Added support for number only input components in UI steps.

    Fixed

    • No longer crashing after a user selects a country with no supported id types.
  • Upgrade to Android Inquiry SDK 2.2.40

    [v2.2.40] - 2022-10-04

    Changed

    • Make sure that there is always a minimum built in margin on the selfie start screen page.

    [v2.2.39] - 2022-09-29

    Fixed

    • Removed shadow on primary material buttons when using server side theming.

    [v2.2.38] - 2022-09-29

    Added

    • Added support for checkbox components in UI steps.
    • Added support for number only input components in UI steps.
    • Added support for theming the government id upload flow via the server.

    Changed

    • Now surfacing clearer error message when invalid fields are included on the InquiryBuilder.
    • Update dependencies.

    Fixed

    • Fixed issues where IO streams were not closed after use.
    • Added support for the 'disabled' field which some components use.
    • Fixed a bug where date inputs were not disabled while submitting information.
    • Fixed some minor layout issues on UI steps.
    • Fixed a line wrapping issue for the month field on date inputs.
    • Fixed placeholders for address components when country code is not US.
    • Fixed some layout issues when errors were shown on input fields.

[v2.2.24] - 2022-09-22

Changed

  • Upgrade to iOS Inquiry SDK 2.4.0

    [v2.4.0] - 2022-09-15

    Changed

    • Now building the SDK with Xcode 14 in order to make use of iOS 16 features.

    Added

    • Added the ability to style footer components as a bottom presented sheet.

    Removed

    • Removed camera icon from camera permissions modal to be more consistent with other Persona modals.
  • Upgrade to Android Inquiry SDK 2.2.37

    [v2.2.37] - 2022-09-13

    Added

    • Added the ability to style footer components as a bottom presented sheet.
    • Added support for the 'hidden' field which some components use.

    Fixed

    • Fixed an issue where buttons were not getting paddings from the server properly applied.
    • Fixed an issue where buttons on the final complete screen were being added to footers incorrectly.
    • Fixed an issue where date input does not display error.
    • Fixed a crash when using custom styled buttons on API 21.

[v2.2.23] - 2022-09-07

Changed

  • Upgrade to iOS Inquiry SDK 2.3.9

    [v2.3.9] - 2022-09-02

    Fixed

    • Fixed a bug in the success checkmark animation so that it shows all 8 of the radiating dots around the check instead of just one.
    • Fixed address component validations.

    Changed

    • Render the error text on input select components as red when we have other styles coming from the server.

    [v2.3.8] - 2022-08-30

    Fixed

    • Fixed a bug where the new processing animation was not being fully configured by colors from the server.
    • Fixed a bug with hyperlinks not being tappable.

    [v2.3.7] - 2022-08-26

    Changed

    • Auto-submit confirmation code after it has been typed in.

    Added

    • Added the ability to render the government id select screen as a more granularly configurable page type.
  • Upgrade to Android Inquiry SDK 2.2.36

    [v2.2.36] - 2022-09-06

    Fixed

    • Added padding to branding elements to prevent run-up against the edge of the screen.
    • Fixed validation on address input.
    • Fixed location of disclaimer on government id camera screens.

    [v2.2.35] - 2022-09-01

    Fixed

    • Fixed an issue where submit buttons in footer components could get into a state where they appear to spin forever.
    • Fixed an issue where nested vertical stacks within UI steps would not render properly.

    [v2.2.34] - 2022-08-30

    Fixed

    • Fixed a crash when custom text attributes are set on the overlay hint of the government ID capture screen.

    [v2.2.33] - 2022-08-30

    Fixed

    • Fixed a bug where background images and colors wouldn't stretch to fill the screen.

    [v2.2.32] - 2022-08-29

    Changed

    • Autosubmit confirmation code after it has been typed in.
    • Confirmation code fields now paste properly and align with expected behavior when deleting and changing numbers.
    • Give a default margin of 24dp to footers

    Fixed

    • Fixed a crash related to lottie.
    • Fixed text layouts when the device is set to render large font sizes for accessibility.
    • Fixed a bug that caused inquiries which contained back-to-back combined steps of the same type to hang.

[v2.2.22] - 2022-08-25

Changed

  • Upgrade to iOS Inquiry SDK 2.3.6

    [v2.3.6] - 2022-08-18

    Changed

    • Processing and loading screens have been aligned to center of screen.
    • Selfie completion animation now plays when using static assets.

    Added

    • Added the ability to style processing screen text elements via the server.
  • Upgrade to Android Inquiry SDK 2.2.31

    [v2.2.31] - 2022-08-22

    Added

    • Added the ability to render the government id select screen as a more granularly configurable page type
    • Added the ability to style processing screen text elements via the server

    Fixed

    • Fix a bug where text fields will not retain their state on activity recreate.
    • Fix a bug where cursor will jump to the front in text fields on text input.

    Changed

    • Downgrade dependency on bouncy castle from jdk18on to jdk15to18.

[v2.2.21] - 2022-08-18

Fixed

  • Fixed a bug where the inquiry flow failed to present on iOS

[v2.2.20] - 2022-08-15

Changed

  • Upgrade to iOS Inquiry SDK 2.3.5

    [v2.3.5] - 2022-08-15

    Changed

    • Default assets for government id, selfie, and document processing animations have been updated.

    Removed

    • Removed unused 'Try again' button after users have denied permissions for the camera.
  • Upgrade to Android Inquiry SDK 2.2.30

    [v2.2.30] - 2022-08-15

    Fixed

    • Workaround an Android 12 bugs where requesting permissions can cause a memory leak.
    • Fix a crash that would occur when a selfie/government id flow is launched on a device has no cameras.

    Changed

    • Keep screen on camera capture screens.
    • Default assets for government id, selfie, and document processing animations have been updated.
    • Permission request popup has been moved for the government ID step. It was moved from the ID select screen to the camera capture screen.

[v2.2.19] - 2022-08-02

Changed

  • Upgrade to iOS Inquiry SDK 2.3.4

    [v2.3.4] - 2022-08-02

    Fixed

    • Fixed a bug where existing document previews were vanishing after deleting a different document.
    • Fixed a layout issue on the selfie start page where text would not be shown correctly when the device screen wasn't large enough to show
      all of the content.

    [v2.3.3] - 2022-07-29

    Added

    • Added the ability to control page level vertical alignment via the server.
    • Added the ability to style buttons on the government id capture page via the server.

    Fixed

    • Fixed a bug where document previews were not showing when the chosen file was a PDF.
    • Fixed a bug where government id capture page instructions were not respecting alignment coming from the server.
  • Upgrade to Android Inquiry SDK 2.2.29

    [v2.2.29] - 2022-07-29

    Added

    • Added the ability to control page level vertical alignment via the server.
    • Added the ability to style buttons on the government id capture page via the server.

    Fixed

    • Fixed an animation bug on small screens on the review captured image screen.
    • Swapped the order of the buttons on the permission request bottom sheet to be consistent with Android standards.
    • Fixed an issue where you couldn't resume inquiries created in sandbox mode and have the pass/fail toggle show up.

[v2.2.18] - 2022-07-27

Changed

  • Upgrade to iOS Inquiry SDK 2.3.2

    [v2.3.2] - 2022-07-18

    Added

    • Added the following theme property:
    • initialLoadingBackgroundImage
    • Added support for skipping the selfie start page.

    Changed

    • The color set for backgroundColor on the theme now applies to the initial loading screen.

    Fixed

    • Fixed a bug where new selfie animations where not using server side theming colors (again).

[v2.2.17] - 2022-07-19

Changed

  • Upgrade to Android Inquiry SDK 2.2.28

    [v2.2.28] - 2022-07-19

    Fixed

    • Fixed a bug where buttons were not being properly aligned when a loading indicator is built into the button.

    [v2.2.27] - 2022-07-18

    Added

    • Support configuration to skip the instructions screen for selfie capture.

    Fixed

    • Fixed a bug where the government ID step will send the wrong parameters to the server in certain edge cases.

[v2.2.16] - 2022-07-14

Added

  • Added various iOS theming property wrappers to the persona-tool

Changed

  • Upgrade to Android Inquiry SDK 2.2.26

    [v2.2.26] - 2022-07-08

    Added

    • Added the following theme property:
      • personaInitialLoadingBackgroundDrawable
    • Added animations when transitioning between screens

    Changed

    • Improve barcode scanning to detect barcodes faster
    • Removed loading screens when navigating back
    • Update dependencies

[v2.2.15] - 2022-07-01

Fixed

  • Fixed iOS compiler error

[v2.2.14] - 2022-06-30

Changed

  • Upgrade to iOS Inquiry SDK 2.3.1

    [v2.3.1] - 2022-06-30

    Fixed

    • Fixed a bug where new selfie animations where not using server side theming colors.
    • Fixed a bug where selfie consent text was not using appropriate styles.

[v2.2.13] - 2022-06-27

Changed

  • Upgrade to Android Inquiry SDK 2.2.25

    [v2.2.25] - 2022-06-27

    Changed

    • When transitioning to the next step, show a progress bar embedded into the action button as opposed to showing a full screen progress bar.

    Fixed

    • Fix a crash for the document select step when a selected document cannot be opened.
    • Fix a bug that caused the government ID step to upload one more photo than necessary.
    • Made lottie animation loading more resilient.

[v2.2.12] - 2022-06-15

Changed

  • Upgrade to iOS Inquiry SDK 2.3.0

    [v2.3.0] - 2022-06-15

    Added

    Changed

    • Match camera feed edge radius and hint box radius to the radius of the capture feed border.

    UI UPDATES: SELFIE CAMERA CAPTURE SCREEN

    We’ve made updates to the selfie verification flow to help reduce blurry and repeat pose captures.
    You’ll notice the following changes to the selfie verification flow:

    • New selfie animation includes an arrow that points users in the direction they should look for
      left and right pose capture.

    • Auto-capture is delayed for left and right pose until each animation plays. In addition, user will
      be able to clearly preview selfie during capture (blur overlay removed).

    If you have any questions about these changes, please reach out to your CSM.

    Fixed

    • Fixed bug where selfie blur overlay would show up solid black when Reduce Transparency was enabled.
    • Fixed bug where selfie circle animation was not using the correct frame.

    [v2.2.13] - 2022-05-26

    Added

    • Added the ability to render markdown in body texts and titles.
  • Upgrade to Android Inquiry SDK 2.2.24

    [v2.2.24] - 2022-06-15

    Fixed

    • Confirm back press when users press the back button on transition/load screens.
    • Disable submit button on document select screen if no documents are selected.
    • Show an icon for PDF documents selected for the document verification step.

    Added

    Changed

    • Match camera feed edge radius and hint box radius to the radius of the capture feed border.
    • Updated the implementation of government id auto capture to allow server configurability.
    • Update dependencies
    • Limit polling for inquiry status update to 90 seconds. Previously there was no time limit.
    • Update the network write timeout to 1 minute. Previously this was 10 seconds.

[v2.2.11] - 2022-05-25

Changed

  • Upgrade to Android Inquiry SDK 2.2.23

    [v2.2.23] - 2022-05-24

    Added

    • Added support for the following InquiryField types: date, datetime, float

    Changed

    • Change the government ID select screen to be configurable by the server
    • Update dependencies
    • Depend on Kotlin 1.6.10

    [v2.2.22] - 2022-05-20

    Fixed

    • Disable back action for government id flows without a back step
    • Improve handling of network errors

Fixed

  • Passed through Inquiry Fields that weren't getting sent to the server

[v2.2.10] - 2022-05-17

Changed

  • Upgrade to iOS Inquiry SDK 2.2.12

    [v2.2.12] - 2022-05-16

    Changed

    • Network requests are now more resilient to connectivity errors and certain server errors are now recoverable.
  • Upgrade to Android Inquiry SDK 2.2.21

    [v2.2.21] - 2022-05-16

    Changed

    • Make the number of images captured for the government id step configurable by the server
    • Make the manual capture button delay for the government id step configurable by the server
    • Update the image shown when there was an error verifying the back side of a government id

    [v2.2.20] - 2022-05-06

    Changed

    • Allow users to retry navigating between certain steps on recoverable network errors
    • Allow users to retry uploading government id/document files
    • Improve network calls so they are more resilient
    • Update dependency of Coil from 0.12.0 to 2.0.0-rc03

    Fixed

    • Display errors on input fields when there is a user input error
    • Fix flickering of image/document previews in rare cases.

    [v2.2.19] - 2022-04-29

    Fixed

    • Fix the resolution of font names when loading custom font families in texts

    [v2.2.18] - 2022-04-27

    Changed

    • Handle more types of network errors

    [v2.2.17] - 2022-04-22

    Changed

    • Make the clickable area of the back and close button slightly bigger

    Fixed

    • Fix a race condition crash on the inquiry success screen

[v2.2.9] - 2022-04-20

Changed

  • Upgrade to iOS Inquiry SDK 2.2.11

    [v2.2.11] - 2022-04-20

    Added

    • Added the ability to render markdown in the selfie step disclaimer.
  • Upgrade to Android Inquiry SDK 2.2.16

    [v2.2.16] - 2022-04-20

    Added

    • Added the ability to render markdown on selfie step disclosure text

    [v2.2.15] - 2022-04-13

    Removed

    • The following string resources have been removed, their values are now supplied by the server:
      • pi2_selfie_hold_still

[v2.2.8] - 2022-04-06

Changed

  • Upgrade to iOS Inquiry SDK 2.2.10

    [v2.2.10] - 2022-04-04

    Added

    • Added the following theme property: centerAlignRemoteAsset.

    Changed

    • The loading icon for initial inquiry load has been changed to a neutral grey spinner.
    • Removed the done button on the country select bottom sheet. Tapping a country now selects that country and dismisses the sheet
      automatically. This mirrors the experience on the android sdk.

    Fixed

    • The correct color is applied to images on disabled buttons.
  • Upgrade to Android Inquiry SDK 2.2.14

    [v2.2.14] - 2022-04-04

    Added

    • Added the following style attribute: personaCenterAlignRemoteAsset

    Fixed

    • Handle 404s more gracefully

[v2.2.7] - 2022-04-02

Changed

  • Upgrade to iOS Inquiry SDK 2.2.9

    [v2.2.9] - 2022-03-29

    Fixed

    • No longer returning a status value of "unknown" for inquiryComplete.
  • Upgrade to Android Inquiry SDK 2.2.13

    [v2.2.13] - 2022-03-30

    Changed

    • Skip government ID select screen if only one ID class is available
    • The loading icon for initial inquiry load has been changed to a neutral grey spinner

    Fixed

    • Allow for server-defined images to have nullable widths/heights without crashing

    [v2.2.12] - 2022-03-24

    Changed

    • Selfie manual capture button for the center pose now triggers a capture immediately for behavior
      consistency. Previously it would trigger a countdown instead.

    Fixed

    • Show users the manual capture button immediately if auto capture cannot be performed on the device
    • Recover from camera related errors more gracefully, allow users to retake photos on error

[v2.2.6] - 2022-03-28

Changed

  • Upgrade to iOS Inquiry SDK 2.2.8

    [v2.2.8] - 2022-03-16

    Changed

    • Transitive dependencies have been namespaced to avoid runtime symbol collisions.

    [v2.2.7] - 2022-03-14

    Fixed

    • Dynamic screens use titleTextAlignment and bodyTextAlignment theme properties again.
    • Custom animation assets now properly use loopMode on selfie start.

    Removed

    • No longer showing a failure screen when client side errors occur.
  • Upgrade to Android Inquiry SDK 2.2.11

    [v2.2.11] - 2022-03-22

    Changed

    • Government id list items now use textAppearanceListItem instead of textAppearanceSubtitle1
    • Selfie capture animations are now customizable via personaSelfieLookLeftLottieRaw and
      personaSelfieLookRightLottieRaw
    • When a static image (drawable) is set instead of a Lottie animation via
      personaSelfieLookLeftDrawable and personaSelfieLookRightDrawable, the animation will not play.
      Instead, the given static image will be used instead.

    Fixed

    • Respect the values of personaSelfieLookLeftDrawable and personaSelfieLookRightDrawable
    • Prevent buttons from overlapping with UI elements on government ID flow

    [v2.2.10] - 2022-03-16

    Changed

    • Various animations and drawables are more themeable

    UI UPDATES: SELFIE CAMERA CAPTURE SCREEN

    We’ve made updates to the selfie verification flow to help reduce blurry and repeat pose captures.
    You’ll notice the following changes to the selfie verification flow:

    • New selfie animation includes an arrow that points users in the direction they should look for
      left and right pose capture.

    • Auto-capture is delayed for left and right pose until each animation plays. In addition, user will
      be able to clearly preview selfie during capture (blur overlay removed).

    If you have any questions about these changes, please reach out to your CSM.

    Fixed

    • Reduce flickering due to re-layouts during first render pass
    • Title/body text fields can now honor android:textAlignment properly
    • Improve government ID capture's user experience on lower end devices; make UI more responsive
    • Improve the capture speed of government ID auto capture and manual capture

[v2.2.5] - 2022-03-22

Fixed

  • Point the type definition to the correct file

[v2.2.4] - 2022-03-07

Changed

  • Upgrade to Android Inquiry SDK 2.2.9

    [v2.2.9] - 2022-03-07

    Added

    • Show a (hide-able) cancel "X" on every non-loading screen to match iOS and web
    • Added support for upload option with government id verification

    Changed

    • Buttons on government id review screen will flow vertically when text is more than one line
    • Update the cancel sheet's copy

    Fixed

    • Fix compatibility issues with Lottie 5.0+
    • Fix layout on government id select screen when no back button is shown
    • Fix back button on government id review screen
  • Upgrade to iOS Inquiry SDK 2.2.6

    [v2.2.6] - 2022-03-07

    Added

    • Added option for uploading a government ID from the file system.
    • Added improved face detection for government id autocapture.
    • Added support for optional cancel buttons.
    • Following strings have been added to Persona.strings
      • cancelTitle
      • cancelBody
      • cancelResumeButton
      • cancelConfirmButton

    Fixed

    • Fixed back button not appearing on dynamic ui screens.
    • Fixed a crash when capturing on old devices.
    • Fixed layout for government id select disclaimer text.

    [v2.2.5] - 2022-03-01

    Changed

    • Selfie camera hint style has changed to be consistent with Android.

    Fixed

    • Fixed government id captures cropping too close to the bottom of the id.

[v2.2.3] - 2022-03-02

Fixed

  • Re-added persona-tool which was removed by accident in a refactor

[v2.2.2] - 2022-02-24

Changed

  • Upgrade to Android Inquiry SDK 2.2.8

    [v2.2.8] - 2022-02-24

    Added

    • Added support for custom government id scanning lottie animation
    • Added support for custom selfie look left and look right drawable

    [v2.2.7] - 2022-02-22

    Added

    • Added support for custom government id overlays and hint animations

    Fixed

    • Allow "center-only" selfie experiences to pass
    • Fixed crash in government id
  • Upgrade to iOS Inquiry SDK 2.2.4

    [v2.2.4] - 2022-02-24

    Added

    • Added the following theme properties:
      • governmentIdOverlayGenericFrontImage
      • governmentIdOverlayBarcodeImage
      • governmentIdOverlayMrzImage
      • selfieStartScreenHeaderIcon

    Removed

    • Following strings have been removed from Persona.strings
      • selfieSubmittingTitle
      • selfieSubmittingBody
      • governmentIdSubmittingTitle
      • governmentIdSubmittingBody

[v2.2.1] - 2022-02-17

Changed

  • Upgrade to Android Inquiry SDK 2.2.6

    [v2.2.6] - 2022-02-16

    Added

    • Various theme attributes have been added

    Changed

    • Default alignment of ui step screens
    • Country select now presents a bottom sheet instead of a dropdown

    [v2.2.5] - 2022-02-11

    Added

    • Auto-capture for center pose selfies
    • Support for additional government IDs
      • Citizenship Certificate
      • Consular ID
      • Foreigner ID
      • Health Insurance Card
      • Long Term Pass
      • National Bureau of Investigation Certificate
      • Permanant Account Number card (SSN)

    Changed

    • Autofocus first input field on page load
    • Only allow digits (0-9) in day/month input fields
  • Upgrade to iOS Inquiry SDK 2.2.3

    [v2.2.3] - 2022-02-16

    Added

    • Support for dark mode.

    Fixed

    • Improved blur detection during government id auto-capture.

Added

  • Expose underlying Android/iOS SDK version with #nativeSdkVersion
  • Add #fromInquiry, #fromTemplate, and #fromTemplateVersion static methods to Inquiry

Deprecated

  • Deprecate the default namespace and it's methods: #fromInquiry, #fromTemplate, and #fromTemplateVersion

[v2.2.0] - 2022-02-16

Changed

  • Upgrade to iOS Inquiry SDK 2.2.2

    [v2.2.2] - 2022-02-10

    Added

    • Added the following theme properties:
      • tableViewChevronColor
    • Added build method to InquiryConfiguration to build a config from all possible parameters.

    Fixed

    • Theme property governmentIdHintBackgroundColor is now properly used.

    [v2.2.1] - 2022-02-08

    Added

    • Added support for optional disclaimer on government id screens
    • Added the following theme properties:
      • governmentIdCaptureDisclaimerIcon
      • governmentIdHintTextAlignment
      • governmentIdHintTextColor
      • governmentIdHintTextFont
      • governmentIdHintBackgroundColor
      • showGovernmentIdHintIcons
    • Added support for SVGs in remote asset components
    • Added the ability to override the following strings:
      • cameraPermissionsTitle
      • cameraPermissionsSelfieText
      • cameraPermissionsGovernmentIdText
      • cameraPermissionsSettingsDescription
      • cameraPermissionsDismissButtonText
      • cameraPermissionsEnableButtonText
      • cameraPermissionsSettingsButtonText
      • cameraPermissionsTryAgainButtonText

    Changed

    • Spacing and margins have been adjusted for consistency

    Fixed

    • Fixed a bug with address autocomplete

    [v2.2.0] - 2022-01-27

    Changed

    • Persona module has been renamed to Persona2
  • Upgrade to Android Inquiry SDK 2.2.4

    [v2.2.4] - 2022-02-04

    Added

    • Added support for custom Selfie animation on selfie start view with
      • Lottie file personaInquirySelfieLottieRaw
      • Size between 0.0 and 1.0 for personaInquirySelfieLottieWidthPercent
    • Added support for additional ID types

    Removed

    • The following string resources have been removed, their values are now supplied by the server:
      • persona_selfie_persona_governmentid_submitting_title
      • persona_selfie_persona_governmentid_submitting_body
      • selfie_hint_center
      • selfie_hint_look_left
      • selfie_hint_look_right
      • governmentid_idlabel_dl
      • governmentid_idlabel_id
      • governmentid_idlabel_keyp
      • governmentid_idlabel_mid
      • governmentid_idlabel_myn
      • governmentid_idlabel_nric
      • governmentid_idlabel_ofw
      • governmentid_idlabel_pp
      • governmentid_idlabel_ppc
      • governmentid_idlabel_pr
      • governmentid_idlabel_rp
      • governmentid_idlabel_sp
      • governmentid_idlabel_sss
      • governmentid_idlabel_umid
      • governmentid_idlabel_pid
      • governmentid_idlabel_vid
      • governmentid_idlabel_visa
      • governmentid_idlabel_wp

    [v2.2.3] - 2022-02-03

    Fixed

    • Use styles that are night-mode friendly for chevrons and arrows

    [v2.2.2] - 2022-02-01

    Added

    • Support SVGs from the server

    Fixed

    • Enable haptic feedback on older versions of Android
    • Address resource contention that stopped the camera after many usages

    [v2.2.1] - 2022-01-28

    Added

    • Show the countdown on the overlay

    Changed

    • Change selfie capture to be more strict, surface errors to users
    • Depend on Kotlin 1.5.31
    • Update resources to prevent name collisions with the v1.x SDK

    [v2.2.0] - 2022-01-25

    Breaking

    • com.withpersona.sdk has been changed to com.withpersona.sdk2 everywhere
  • Update iOS and Android's namespace to allow for 1.x and 2.x implementations in parallel

[v2.1.3] - 2022-01-31

Changed

  • Upgrade to iOS Inquiry SDK 2.1.3

    [v2.1.3] - 2022-01-25

    Added

    • Added the following theme properties:
      • governmentIdCaptureBackgroundColor
      • governmentIdScanningStrokeStyle
      • governmentIdCapturingStrokeStyle
      • governmentIdConfirmingStrokeStyle
      • governmentIdScanningAnimation
      • showGovernmentIdOverlays
      • selfieLookLeftAsset
      • selfieLookRightAsset

    Removed

    • Removed the following strings from Persona.strings (unused in dynamic flows):
      • governmentIdStartTitle
      • governmentIdStartBody
      • governmentIdChooseType
      • selfieStartTitle
      • selfieStartBody
      • selfieStartButton
  • Upgrade to Android Inquiry SDK 2.1.3

    [v2.1.3] - 2022-01-24

    Added

    • Support for server driven localizations in selfie templates

    Changed

    • Cancel modal now uses textAppearanceHeadline6 and textAppearanceSubtitle1

    Removed

    • The following string resources have been removed:
      • persona_selfie_start_title
      • persona_selfie_start_body
      • persona_selfie_start_button

    [v2.1.2] - 2022-01-18

    Added

    • Support for more server driven localizations on government ID templates
    • Support more components for form templates
    • Added address auto complete on address fields
    • Improve auto capture to take better pictures

    Changed

    • Update dependencies
    • Various bug fixes

[v2.1.2] - 2021-12-17

Changed

  • Upgrade to iOS Inquiry SDK 2.1.2

    [v2.1.2] - 2021-12-13

    Added

    • Added support for server driven localizations on gov id capture screen.
    • Added support for multi-file document uploads.
  • Upgrade to Android Inquiry SDK 2.1.1

    [v2.1.1] - 2021-12-13

    Added

    • Allow multiple documents to be added on the same step
    • Support for server driven localizations in government ID templates

    Changed

    • Update dependencies

    Removed

    • The following string resources have been removed:
      • persona_governmentid_start_title
      • persona_governmentid_start_body
      • persona_governmentid_failed_title
      • persona_governmentid_submitting_title
      • persona_governmentid_submitting_body

[v2.1.1] - 2021-12-02

Changed

  • Upgrade to iOS Inquiry SDK 2.1.1

    [v2.1.1] - 2021-11-23

    Added

    • The background color for the silhouette overlay, shown when taking automated selfies, can now be themed via selfieOverlayBackgroundColor. If no color is provided, a blur effect is used instead (the default behavior).

    Fixed

    • Fixed a bug where form field errors would not be displayed underneath the affected fields.
    • Fixed a bug where certain assets could be rendered at a lower resolution than expected.

[v2.1.0] - 2021-11-18

Changed

  • Upgrade to iOS Inquiry SDK 2.1.0

    [v2.1.0] - 2021-11-16

    Added

    • Added themeable text alignment on title and body labels: titleTextAlignment and bodyTextAlignment.
    • Added LoopMode enum for InquiryTheme.AnimationAsset which determines loop mode of animation, defaults to playOnce.
    • Added support for completing an Inquiry without showing the completion screen.
    • Added support for Dynamic Type.
    • Added support for the Reduce Motion accessibility setting.

    Changed

    • Attempting to start an Inquiry on templates prefixed with tmpl_ will now fail immediately.
    • Government ID camera capture experience has been redesigned.
    • Improved support for Voice Over.
  • Upgrade to Android Inquiry SDK 2.1.0

    [v2.1.0] - 2021-11-18

    Added

    • Support completing an Inquiry flow without showing a completion screen

    Changed

    • Redesign Government ID capture screens
    • Secondary buttons are now outlined
    • Update dependencies

    Fixed

    • Remove Snackbar usage in Sandbox which older versions of AGP strips out
    • Use the Material UI background for materialButtonStyle and materialButtonStyleSecondary

    [v2.0.3] - 2021-10-20

    Fixed

    • Return an error when the SDK is launched without internet
    • Return session when canceling from document upload step

[v2.0.3] - 2021-10-14

Changed

  • Upgrade to Android Inquiry SDK 2.0.2

    [v2.0.2] - 2021-10-13

    Added

    • Support document upload step
    • Forward along server errors on the Inquiry creation step
    • Return error if using an incompatible template ID

    Fixed

    • Starting an Inquiry by Inquiry Template Version has been fixed
    • Removed loading indicator blip after selfie and document verifications
    • Re-add Field population on client-side Inquiry creation

    Changed

    • Update dependencies

    [v2.0.1] - 2021-08-26

    Added

    • Support the Keypass ID and Visa government ID types
    • Show a cancel confirmation pop-up

    Fixed

    • InquiryField.Unknown return the name of the unknown type instead of just "unknown"

    Changed

    • Footer now has a thin line on top of it

[v2.0.2] - 2021-09-09

Fixed

  • Re-added missing compiled JavaScript files

[v2.0.1] - 2021-09-08

Changed

  • Upgrade to iOS Inquiry SDK 2.0.1

    [v2.0.1] - 2021-09-01

    Added

    • Added support for Keypass ID and visa government id types.
    • The footer container now has themable options via footerBackgroundColor, footerBorderColor and footerBorderWidth.

    Changed

    • Standard InquiryField key values are now camelCase instead of kebab-case.
    • InquiryField enum case values are now optional.
    • InquiryDelegate.inquiryComplete parameter status has been made not optional.

    Fixed

    • Relative links are no longer rendered as links in the PrivacyPolicy component.

[v2.0.0] - 2021-08-26

Added

  • onCanceled response now returns the sessionToken so the Inquiry flow can be resumed

Changed

  • Upgrade to iOS Inquiry SDK 2.0.0

    [v2.0.0] - 2021-08-06

    Added

    • InquiryDelegate.inquiryCanceled now includes a sessionToken parameter to resume the inquiry flow.

    Changed

    • Support Inquiry templates prefixed with itmpl_ instead of tmpl_.
    • InquiryDelegate.inquirySuccess and InquiryDelegate.inquiryFailed are now represented by InquiryDelegate.inquiryComplete with a status of completed or failed (though can be customizable in the future).
    • InquiryDelegate.inquiryCancelled has been renamed to InquiryDelegate.inquiryCanceled.
    • Attributes parameter in the inquirySuccess delegate are now a part of inquiryComplete fields parameter.

    Removed

    • Relationships and the containing list of Verification no longer exists.
  • Upgrade to Android Inquiry SDK 2.0.0

    [v2.0.0] - 2021-08-05

    Added

    • Support AndroidX's registerForActivityResult for interacting with the Inquiry
    • Cancel response now returns the sessionToken so the Inquiry flow can be resumed

    Changed

    • Success and Failure callbacks are now represented by Complete with a status of completed
      or failed (though can be customizable in the future)
    • Support Inquiry templates prefixed with itmpl_ instead of tmpl_
    • Attributes returned in the Success response are now in the Complete's fields response

    Deprecated

    • Recommend moving off Inquiry#onActivityResult and onto AndroidX's registerForActivityResult

    Removed

    • Relationships and the containing list of Verification no longer exists
  • onSuccess and onFailure callbacks are now represented by onComplete with a status of "completed" or "failed" (
    though can be customizable in the future)

  • Support Inquiry templates prefixed with itmpl_ instead of tmpl_

  • Attributes returned in the Success response are now in the Complete's fields response

  • accessToken has been renamed to sessionToken on the Inquiry builder