DocumentationAPI Reference
API ChangelogOpenAPI SpecStatus

Android Changelog

Changes, Fixes, and Features for our Android SDK.

Releases

Watch this repo to be notified when new versions of the android SDK are available.

We are continually releasing fixes and updates which improve the end user experience. We recommend staying up-to-date with releases to make sure you are taking advantage of the latest functionality and improvements.

Changes

[v2.11.4] - 2024-04-11

Fixed

  • Make sure the header button color from the server is applied on gov id review screens.

[v2.11.3] - 2024-04-09

Added

  • Added the ability to color the back and cancel buttons on the capture screens via the server.

Changed

  • Improved the messaging for NFC related errors.

Fixed

  • Fixed several NFC related bugs.

[v2.11.2] - 2024-04-05

Added

  • Added ability to configure via the server which data groups are read during an nfc scan.

[v2.11.1] - 2024-04-02

Added

  • Added the ability to set custom assets via the server for the verification processing animation.
  • Added the ability to control the layout axis of the buttons on the review captured government id screen via the server.
  • Added the ability to add optional titles on government id and selfie capture screens.
  • Added the ability to customize the selfie verification processing loading animation via the server.

Changed

  • Changes the style of the processing screen when auto-classification is enabled.

[v2.11.0] - 2024-03-27

Added

  • Added a selfie flow type configurable_poses which randomizes the capturing order of selfie poses.
  • Added support for auto-classification for government ID steps.

[v2.10.19] - 2024-03-15

Added

  • Added a stricter condition for autocapture when strict selfie flag is on

Fixed

  • Fixed a layout bug on the selfie start page where vertical margins were not being applied to text views.

[v2.10.18] - 2024-03-06

Fixed

  • Fixed an issue where the camera preview for government ID would be cropped if the sweep animation is disabled.

[v2.10.17] - 2024-03-05

Fixed

  • Addressed an issue with our beta fallback service.

[v2.10.16] - 2024-03-04

Added

  • Added a way to forcibly cancel all running inquiries within an application by calling Inquiry.cancelRunningInquiries().

[v2.10.15] - 2024-02-28

Fixed

  • Fixed an issue where the buttons in the review capture screen for government ID steps are in the wrong location.

[v2.10.14] - 2024-02-27

Added

  • Added a toggle to have the SDK consume any unhandled exceptions via consumeExceptions() on InquiryTemplateBuilder or InquiryBuilder.

Fixed

  • Fixed an issue where using reusable Personas to complete parts of the inquiry does not work.

[v2.10.13] - 2024-02-20

Fixed

  • Fixed an issue where the capture button would overlap with other UI elements on devices with small screens.
  • Fixed an issue where the capture tips modal sometimes appears behind the navigation bar.
  • Fixed a crash that can occur in the government ID or selfie step if the cancel modal is shown and the app is backgrounded.

[v2.10.12] - 2024-01-23

Added

  • Added support for the auto-complete flag for reusable Personas.
  • Added a new graphic for the passport NFC flow.

[v2.10.11] - 2024-01-10

Added

  • Added highlighted background color for selected item in input select list component.
  • Added support for localization overrides on government id capture feed instructions.
  • Support server-side asset configurations for selfie, government ID and document steps.
  • Support disabled for input select and input multi select.
  • Support hidden for stack, QRCode, and spacer component.
  • Support max rows for text area component.

Changed

  • Added additional default assets for gov id upload flows.

Fixed

  • Fixed an issue with the navigation bar color on Android API levels 27 to 29 (inclusive).
  • Fixed an issue in Government ID step where tapping back from the capture screen would cause minor UI issues.

[v2.10.10] - 2023-12-15

Added

  • Added checkbox group component, which has multi-select feature.
  • Added support for reusable Personas.

Fixed

  • Fixed a rare crash when sending users to the NFC settings page. This can happen if NFC is disabled and the user is going through the passport NFC flow.
  • Fixed some minor cosmetic issues with bottom sheets.
  • Introduced a workaround for a bug introduced in Lottie 6.2.0 that was causing a crash on the government id capture screen.

[v2.10.9] - 2023-11-27

Added

  • Added the ability to stream government id and selfie verifications via WebRTC.
  • Added advanced mask support for MaskedTextInput components.
  • Added search bar for countries select in GovID
  • Added support for markdown in checkboxes and radio buttons.

Fixed

  • Fixed an issue where address auto-complete would not be expanded if there are fields prefilled.
  • Fixed an issue where the address suggestion dropdown is shown even if no suggestions are available.
  • Fixed the behaviour of automatically filling in literals for mask text component, following the mask format
  • Handle out-of-space errors gracefully. An error will be returned by the SDK when the device runs out of disk space.
  • Improve performance and load times of UI steps, especially on lower end devices.
  • Prefixed some resources with "pi2" to avoid naming collisions.

[v2.10.8] - 2023-11-02

Fixed

  • Fixed a crash when using a custom government ID camera preview overlay.

[v2.10.7] - 2023-10-27

Fixed

  • Fixed an issue where video capture would not be able to find a suitable camera even if one is available.
  • Fixed an issue where the cancel bottom sheet would not be anchored to the bottom.
  • Fixed an issue where the address component would not expand.
  • Fixed an edge case where the manual capture button will not show up when it should.

[v2.10.6] - 2023-10-23

Added

  • Added the component text area, that will resize automatically when there is multiple lines of text

Fixed

  • Fixed an issue where users are not asked to enable the microphone permission if they permanently reject the permission. This only applies to video capture flows.

Changed

  • Display content edge-to-edge.

[v2.10.5] - 2023-10-05

Fixed

  • Workaround an issue with MLKit when used as a dynamic feature module.

[v2.10.4] - 2023-10-05

Added

  • Added the ability to style buttons in the cancel modal separately from the general step button styles via the server.

Fixed

  • Workaround a bug with Android's dynamic feature plugin. Moved all declarations of content providers to the dynamic-feature module.

[v2.10.3] - 2023-09-27

Added

  • Added the dynamic-feature module. This module makes it easier to use persona with Android's dynamic feature plugin.

Changed

  • Changed video capture to work on devices with no physical microphone.
  • Downgrade Lottie to 4.2.2 due to some customers having compatibility issues with the latest version of Lottie.

[v2.10.2] - 2023-09-22

Added

  • Added ability to override device locale via .locale(String) method on InquiryTemplateBuilder or InquiryBuilder.

[v2.10.1] - 2023-09-21

Fixed

  • Fixed a bug where the error message for required input was not clea red after the input was entered.
  • Fixed a crash that can occurs if the user presses backspace on the address auto-complete field.

[v2.10.0] - 2023-09-19

Changed

  • Changed the address input to appear as a single text field initially that can be expanded by the user.
  • Improved support for Government Id NFC.

[v2.9.2] - 2023-08-31

Added

  • Added an error code to error results.

Changed

  • Updated ESignature component styling.
  • Support the no overlay option for Government ID scan step.

[v2.9.1] - 2023-08-08

Added

  • Added the ability to color custom SVGs via the server. Note that if loading the local custom asset,
    the SVG must be placed in the raw resources directory in order for the color replacement to occur
    since this process does not work on vector drawables.

Changed

  • Update AGP and Gradle to 8.1.0
  • Update dependencies.

Fixed

  • Fixed a crash that occurs when an app is built with R8 full mode.

[v2.9.0] - 2023-07-27

Added

  • Added the ability to hide local image components based on json logic from the server.

Changed

  • Update AGP to 8.0.2

[v2.8.3] - 2023-10-13

Added

  • Added ability to override device locale via .locale(String) method on InquiryTemplateBuilder or InquiryBuilder.

[v2.8.2] - 2023-10-04

Added

  • Added the ability to style buttons in the cancel modal separately from the general step button styles via the server.

[v2.8.1] - 2023-09-27

Changed

  • Downgrade Lottie to 4.2.2 due to some customers having compatibility issues with the latest version of Lottie.

[v2.8.0] - 2023-07-20

Added

  • Added .environmentId on InquiryTemplateBuilder to create inquiries with a specific environment token.

Changed

  • Breaking change Changed .routingCountry on InquiryTemplateBuilder and InquiryBuilder to accept String instead of enum.
    • Before: .routingCountry(RoutingCountry.DE) after: .routingCountry(RoutingCountry.DE.name)
  • Breaking change Changed SST colors to parse as format #RRGGBBAA instead of #AARRGGBB
    • From our audit, this change should not affect any customers. If you are affected by this change, please reach out to your account team.

Fixed

  • Fixed a bug where the values of hidden fields were being submitted to the inquiry.

[v2.7.2] - 2023-07-05

Fixed

  • Fixed InquiryActivity retention leak introduced in v2.6.0

[v2.7.1] - 2023-06-27

Fixed

  • Fixed a crash when a PDF417 barcode is scanned but the barcode does not indicate an expiration date.

[v2.7.0] - 2023-06-22

Added

  • Added .routingCountry to InquiryTemplateBuilder and InquiryBuilder to choose which server region the inquiry is routed to directly.

Fixed

  • Fixed a bug when passing empty string as sessionToken to InquiryBuilder.

[v2.6.2] - 2023-05-23

Added

  • Added an experimental feature to allow setting the themeSetId when starting an inquiry. This determines what theme set to read from on the server.

[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] - 2023-04-14

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 incompatible architecture.

[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.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.

[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.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

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

[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.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.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.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.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.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.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.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.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.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 on camera capture screens.
  • Default assets for government id, selfie, and document processing animations have been updated.

[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.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.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.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.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.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

[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.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.14] - 2022-04-04

Added

  • Added the following style attribute: personaCenterAlignRemoteAsset

Fixed

  • Handle 404s more gracefully

[v2.2.13] - 2022-03-30

Changed

  • Skip government ID select screen if only one ID class is available

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.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.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

[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

[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
    • Permanent Account Number card (SSN)

Changed

  • Autofocus first input field on page load
  • Only allow digits (0-9) in day/month input fields

[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

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

[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

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

[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.1] - 2021-12-13

Added

  • Allow multiple documents to be added on the same step

Changed

  • Update dependencies

[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.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.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