Customers integrating using Onfido Studio can authenticate the SDK using tokens generated and exposed in theworkflow run payloadreturned by the API when a workflow run iscreated.
Customers integration without the use of Onfido Studio must authenticate the SDK by manuallygenerating an SDK tokenusing the Onfido API.
Onfido Android SDK Migration Guide
The guides below are provided to ease the transition of existing applications using the Onfido SDK from one version to another that introduces breaking API changes.
If your migration involves upgrading across multiple SDK versions, be sure to read each individual guide in order to account for all relevant breaking changes.
23.1.0 -> 23.2.0
String Changes
Added
The following string keys have been added:
onfido_nfc_capture_scan_card_scanning_sheet_2(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW)
22.1.0 -> 22.2.0
String Changes
Added
The following string keys have been added:
onfido_generic_icon_error_accessibility(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW)
22.0.0 -> 22.1.0
Deprecated API Changes
- Usage of manually-generated SDK tokens alongside Studio workflows is deprecated. Please use Studio tokens returned in the payload when creating a workflow run. For more details see: https://documentation.onfido.com/api/latest/#sdk-tokens
21.2.0 -> 22.0.0
Breaking API Changes
- Updated the captures object in the userCompleted(captures) callback to support two-sided Proof of address documents.
The object went from:
ProofOfAddress(id=poa_id, type=UTILITY_BILL, issuing_country=UK)
to ProofOfAddress(type=UTILITY_BILL, front = (id = front_side_id, type = (optional)), back = (id = back_side_id, type = (optional))) - Removed
EnterpriseFeatures's deprecated constructor. Use the builder instead - Removed the deprecated
CAMERA_PERMISSION_DENIEDSDK exit code. This case is now handled by the SDK - Removed
OnfidoConfig.Builder's deprecated methods:withNFCReadFeature()anddisableNFC(). UsewithNFC(option: NFCOptions)instead OnfidoActivityThemehas been renamed toOnfidoLightThemefor consistency withOnfidoDarkTheme- The
attrsuffix has been removed from all font family theme attributes for consistency with other attribute names - Removed
withBaseUrlAPI from theOnfidoConfigpublic APIs
String Changes
Removed
The following string keys have been removed:
onfido_avc_confirmation_title()onfido_avc_confirmation_subtitle()onfido_avc_confirmation_button_primary_upload()
21.1.0 -> 21.2.0
String Changes
Added
The following string keys have been added:
-
onfido_retry_feedback_id_expired_title(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_id_unaccepted_title(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_id_generic_title(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_selfie_generic_title(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_id_expired_subtitle(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_id_unaccepted_subtitle(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_id_generic_subtitle(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_selfie_generic_subtitle(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_custom_title(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_custom_subtitle(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_retry_feedback_button_primary(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW)##20.5.0->21.0.0
Platform Changes
- There might be a chance of getting "2 files found with path 'META-INF/versions/9/OSGI-INF/MANIFEST.MF'." during build or run tasks. If so, please add the following to your packagingOptions of the
app/build.gradlefile:packagingOptions.resources.excludes += "META-INF/versions/9/OSGI-INF/MANIFEST.MF" - Please update your JDK version to version 17. Details: https://developer.android.com/build/jdks
Breaking API Changes
- Motion functionality has been enhanced to work seamlessly on all devices. You can safely remove any existing
withCaptureFallback()implementations from your code - Deprecated APIs are removed and need to be replaced with current ones
- Removed the deprecated
withNFCReadFeatureanddisableNFCconfiguration options forOnfidoConfigin non-Studio usage scenarios. Please usewithNFC(NFCOptions.Disabled)instead.
20.4.0 -> 20.5.0
Deprecated API Changes
- Deprecated
disableNFC()usewithNFC(NFCOptions.Disabled)instead
20.0.0 -> 20.4.0
String Changes
Added
The following string keys have been added:
-
onfido_nfc_capture_scan_intro_passport_scan_guide_1(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_nfc_scan_doc_realign_title(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_nfc_capture_scan_doc_realign_body(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_nfc_capture_scan_intro_passport_scan_guide_android_2(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_nfc_capture_scan_intro_passport_scan_guide_android_3(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW) -
onfido_nfc_capture_scan_intro_passport_scan_guide_android_4(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW)##19.6.0->20.0.0
Breaking API Changes
- If you have imported the onfido-dfm-base module please remove the import and use onfido-public-api instead
19.5.0 -> 19.6.0
Breaking API Changes
- Added new ExitCode -
REQUIRED_NFC_FLOW_NOT_COMPLETED - Removed
NFCOptions.Preferred. Consider usingNFCOptions.Optionalinstead.
String Changes
Removed
The following string keys have been removed:
onfido_app_title_doc_select(en, ar, bg, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, fr-rCA, hi, hr, hu, hy, in, it, iw, ja, ko, lt, lv, ms, nb, nl, nn, pl, pt, pt-rBR, ro, ru, sk, sl, sr, sv, th, tr, uk, vi, zh-rCN, zh-rTW)##19.2.2->19.3.0
19.2.2 -> 19.3.0
Deprecation
- Motion capture fallbacks configuration is no longer supported from version 19.3.0 onwards as the SDK has been improved to mitigate device coverage issues.
withCaptureFallbackconfiguration has been marked as Deprecated and will be removed in an upcoming version.
String Changes
Added
The following string keys have been added:
onfido_country_select_search_results_none_accessibilityonfido_country_select_search_results_one_accessibilityonfido_country_select_search_results_multiple_accessibilityonfido_doc_confirmation_alert_odp_photo_of_screen_titleonfido_doc_confirmation_alert_odp_screenshot_titleonfido_doc_confirmation_alert_odp_photocopy_titleonfido_doc_confirmation_alert_odp_scan_titleonfido_doc_confirmation_alert_odp_detailonfido_doc_confirmation_button_secondary_change_documentonfido_doc_confirmation_button_secondary_submit_anywayonfido_doc_capture_alert_manual_capture_video_title
19.0.0 -> 19.1.0
- Onfido SDK now supports the dark theme. By default, the user's active device theme will be
automatically applied to the Onfido SDK. However, you can opt out from dynamic theme switching at run time
and instead set a theme statically at the build time. In this case, the flow will always be in displayed
in the selected theme regardless of the user's device theme. Please refer to the dark theme section in
README.mdfor further details on how to configure the SDK with a static UI theme. - Onfido's public colors defined in your
colors.xmlare now deprecated. Please refer to the "appearance and colors" section inREADME.mdfor our new theme-based UI customization approach and the list of available attributes and UI customization options.
18.0.0 -> 19.0.0
Breaking API changes
- Removed
Parcelableimplementation fromMediaCallbackand run it in the same process with the application. - Removed
Parcelableimplementation fromOnfidoAnalyticsEventListenerand run it in the same process with the application. - Removed
Parcelableimplementation fromTokenExpirationHandlerand run it in the same process with the application.
Deprecated API changes
- Deprecated
withNFCReadFeature()inOnfidoConfig, as NFC is now enabled by default. UsedisableNFC()if you want to disable NFC.
17.0.0 -> 18.0.0
Breaking API changes
- Updated the properties of
MediaFile(used for custom media callbacks) - it now contains 3 attributes: the file data, file type and file name - Dropped
Attrsuffix from font attribute names inOnfidoBaseActivityTheme. - Removed the internal
onfidoFontFamilyattribute inOnfidoBaseActivityTheme.
Added
- The
isOnfidoProcessextension function has been integrated into the Application class. If you have implemented a custom Application class and are also using Firebase, please ensure to follow the instructions provided in this documentation for correct setup and integration.
16.3.2 -> 17.0.0
Breaking changes
- After the release of version 17.0.0, Onfido Android SDK runs in a separate process. This means that when the callback is triggered, the body of that callback will run in Onfido SDK process rather than the main application process. Therefore, any actions performed in the callback, such as accessing memory or modifying UI, will be executed within the SDK process. It is important to keep this in mind when designing and implementing callbacks in order to ensure the proper functioning and performance of the SDK.
16.3.0 -> 16.3.1
Platform Changes
- Added default value to
DocumentSide#nfcSupportedto support backward compatibility.
15.4.0 -> 16.0.0
Breaking API changes
- Removed
setUserEventHandlerandgetUserEventHandlerfor theUserEventHandlersince it is deprecated. Please useOnfidoConfig.builder(context).withAnalyticsEventListener().
15.3.0 -> 15.4.0
String Changes
Added
The following string keys have been added:
onfido_avc_intro_disclaimer_camera_and_audio_on
Changed
The following string keys have been changed:
onfido_avc_intro_button_primary_readyonfido_avc_intro_disclaimer
15.1.0 -> 15.2.0
String Changes
Added
The following string keys have been added:
onfido_enter_can_titleonfido_enter_can_subtitleonfido_enter_can_button_primaryonfido_enter_can_disclaimeronfido_enter_can_error_labelonfido_enter_can_substring_attempt_singularonfido_enter_can_substring_attempt_pluralonfido_nfc_scan_error_titleonfido_nfc_scan_error_button_primaryonfido_nfc_scan_error_button_secondaryonfido_nfc_scan_error_list_itemonfido_nfc_scan_error_list_item_2
Removed
The following string keys have been removed:
onfido_nfc_fail_titleonfido_nfc_fail_button_primaryonfido_nfc_fail_button_secondaryonfido_nfc_fail_list_item_remove_coveronfido_nfc_fail_list_item_keep_contactonfido_nfc_intro_subtitle_cardonfido_nfc_intro_subtitle_passportonfido_nfc_intro_button_primary_cardonfido_nfc_intro_button_primary_passport
Changed
The following string keys have been changed:
onfido_nfc_intro_passport_scan_guide_1onfido_nfc_intro_passport_scan_guide_2onfido_nfc_intro_passport_scan_guide_3onfido_nfc_intro_passport_scan_guide_4
15.0.0 -> 15.1.0
String Changes
Changed
The following string keys have been changed:
onfido_country_select_error_no_country_body_poa->onfido_country_select_error_no_country_bodyonfido_nfc_sheet_scanning_button_secondary->onfido_nfc_sheet_button_secondaryonfido_nfc_intro_sheet_header_scanning->onfido_nfc_intro_sheet_scanning_subtitleonfido_nfc_sheet_success_instruction->onfido_nfc_sheet_success_instruction_passportonfido_doc_select_button_work_permit->onfido_doc_select_button_permit_workonfido_doc_select_section_input_placeholder_country_copy->onfido_doc_select_section_input_placeholder_countryonfido_liveness_intro_loading_video->onfido_video_intro_loaderonfido_doc_select_section_input_placeholder_country->onfido_doc_select_section_input_country_not_foundonfido_doc_select_button_bill_detail_all->onfido_doc_select_button_bill_detailonfido_liveness_fetch_challenge_error_description->onfido_video_capture_prompt_network_timeout_detailonfido_liveness_intro_loading_video->onfido_video_intro_loader
14.0.0 -> 15.0.0
Breaking changes
- In order to use Studio/Workflow, now it is required to include it as a separate dependency as below:
implementation "com.onfido.sdk:onfido-workflow:$onfidoSdkVersion"
13.2.0 -> 14.0.0
Breaking API changes
- Removed all references to wording around beta for the NFC feature. NFC is no longer beta and generally available.
12.3.1 -> 13.0.0
String Changes
Added
The following string keys have been added:
onfido_avc_face_alignment_feedback_move_left_accessibilityonfido_avc_face_alignment_feedback_move_right_accessibilityonfido_avc_face_alignment_feedback_move_up_accessibilityonfido_avc_face_alignment_feedback_move_down_accessibility
Removed
The following string keys have been removed:
onfido_permission_recovery_button_secondary_camonfido_permission_recovery_button_secondary_miconfido_permission_recovery_button_secondary_bothonfido_welcome_list_item_doconfido_permission_recovery_subtitle_videoonfido_permission_recovery_extra_instructions_camonfido_permission_recovery_extra_instructions_miconfido_permission_recovery_extra_instructions_bothonfido_permission_recovery_body_miconfido_permission_recovery_body_camonfido_permission_recovery_body_bothonfido_app_title_user_consentonfido_country_select_error_no_country_bodyonfido_welcome_list_item_videoonfido_doc_confirmation_body_visaonfido_welcome_list_item_selfieonfido_welcome_list_header_photoonfido_welcome_list_header_recordonfido_welcome_list_header_doc_videoonfido_app_title_doc_video_confirmationonfido_doc_capture_header_license_front_autoonfido_doc_capture_header_visa_backonfido_doc_capture_header_passport_autoonfido_doc_capture_header_license_back_autoonfido_doc_capture_frame_accessibility_pp_cover_manualonfido_doc_capture_frame_accessibility_pp_manualonfido_welcome_list_item_face_genericonfido_doc_capture_alert_no_face_titleonfido_doc_capture_alert_no_face_detailonfido_doc_capture_header_live_guidance_distance_okonfido_doc_capture_header_live_guidance_distance_ok_accessibilityonfido_nfc_intro_sheet_scanning_subtitleonfido_avc_connection_error_button_primary_reloadonfido_doc_select_button_bill_detailonfido_poa_country_not_foundonfido_doc_select_extra_no_mobileonfido_label_doc_type_driving_license_shortonfido_label_doc_type_residence_permit_shortonfido_face_tracking_timeout_button_retryonfido_allowonfido_permission_subtitle_videoonfido_permission_body_videoonfido_accessibility_liveness_confirmation_viewonfido_nfc_sheet_ready_button_secondaryonfido_nfc_intro_sheet_header_scan_retryonfido_nfc_sheet_scanning_instruction_retryonfido_nfc_intro_sheet_header_fail_passportonfido_nfc_intro_sheet_header_fail_cardonfido_nfc_intro_sheet_header_ready_cardonfido_nfc_intro_sheet_header_ready_passportonfido_poa_document_submission_emptyonfido_flow_user_exit_message_user_cancelled
12.2.3 -> 12.3.0
Added
The following string keys have been added:
onfido_avc_intro_title_accessibilityonfido_avc_intro_video_accessibilityonfido_avc_face_capture_frame_accessibilityonfido_avc_confirmation_left_side_complete_accessibilityonfido_avc_confirmation_right_side_complete_accessibilityonfido_avc_face_capture_title_accessibilityonfido_avc_face_capture_recording_started_accessibilityonfido_avc_face_alignment_feedback_face_aligned_accessibilityonfido_avc_face_alignment_feedback_move_closer_accessibilityonfido_avc_face_alignment_feedback_move_back_accessibilityonfido_avc_face_alignment_title_accessibilityonfido_avc_face_alignment_feedback_no_face_detected_accessibility
11.5.0 -> 12.0.0
Breaking API changes
- Removed the option to implement the user consent screen directly in your configuration during SDK initialization. It is now controlled by the Onfido backend. Please see our Onfido privacy notices and consent migration guide for further information.
String Changes
Changed
The following string keys have been changed:
onfido_doc_capture_header_live_guidance_doc_position_ok_accessibility
11.0.0 -> 11.1.0
String Changes
Added
The following string keys have been added:
onfido_nfc_intro_sheet_ready_subtitle_passportonfido_nfc_intro_sheet_scanning_subtitleonfido_nfc_intro_sheet_ready_subtitle_cardonfido_nfc_intro_sheet_fail_instructions_cardonfido_nfc_intro_sheet_fail_subtitle_cardonfido_nfc_intro_sheet_fail_subtitle_passportonfido_nfc_intro_sheet_fail_instructions_passport
10.3.1 -> 11.0.0
Breaking API changes
- Removed deprecated
withToken(token)andwithApplicant(ID)fromOnfidoConfig.Builderclass. Mobile tokens are not supported anymore, please use SDK tokens withwithSDKToken(token), otherwise you will get an authorization exception when creating an applicant.
String Changes
Added
The following string keys have been added:
onfido_doc_capture_header_capturingonfido_nfc_intro_carousel_body_dont_moveonfido_nfc_intro_carousel_body_last_pageonfido_nfc_intro_carousel_body_lay_flatonfido_nfc_intro_carousel_body_phone_toponfido_nfc_intro_carousel_body_remove_cover
Changed
The following string keys have been changed:
onfido_nfc_intro_subtitle_passport
Removed
The following string keys have been removed:
onfido_doc_capture_header_scanning
10.3.0 -> 10.3.1
String Changes
Added
The following string keys have been added:
onfido_nfc_select_title_passportonfido_nfc_select_subtitle_passportonfido_nfc_select_body_passportonfido_nfc_select_button_primary_passportonfido_nfc_select_button_secondary_passportonfido_nfc_intro_title_passportonfido_nfc_intro_subtitle_passportonfido_nfc_intro_button_primary_passportonfido_nfc_intro_sheet_header_ready_passportonfido_nfc_fail_title_passportonfido_nfc_fail_list_item_remove_cover_passportonfido_nfc_fail_list_item_keep_contact_passportonfido_nfc_fail_button_primary_passportonfido_nfc_fail_button_secondary_passportonfido_nfc_select_title_cardonfido_nfc_select_subtitle_cardonfido_nfc_select_body_cardonfido_nfc_select_button_primary_cardonfido_nfc_select_button_secondary_cardonfido_nfc_intro_title_cardonfido_nfc_intro_subtitle_cardonfido_nfc_intro_sheet_header_ready_cardonfido_nfc_fail_title_cardonfido_nfc_fail_list_item_remove_cover_cardonfido_nfc_fail_list_item_keep_contact_cardonfido_nfc_sheet_success_instruction_cardonfido_nfc_intro_sheet_header_fail_passportonfido_nfc_intro_button_primary_cardonfido_nfc_intro_sheet_header_fail_cardonfido_nfc_fail_button_primary_cardonfido_nfc_fail_button_secondary_card
Changed
The following string keys have been changed:
onfido_doc_capture_header_live_guidance_no_doconfido_nfc_sheet_success_instruction
Removed
The following string keys have been removed:
onfido_nfc_select_titleonfido_nfc_select_subtitleonfido_nfc_select_button_primaryonfido_nfc_select_button_secondaryonfido_nfc_select_bodyonfido_nfc_intro_titleonfido_nfc_intro_sheet_header_readyonfido_nfc_sheet_ready_subtitleonfido_nfc_intro_subtitleonfido_nfc_sheet_success_intructiononfido_nfc_intro_button_primaryonfido_nfc_fail_titleonfido_nfc_fail_list_item_remove_coversonfido_nfc_fail_list_item_keep_contactonfido_nfc_fail_button_primaryonfido_nfc_fail_button_secondary
10.2.0 -> 10.3.0
String Changes
Added
The following string keys have been added:
onfido_doc_capture_header_live_guidance_intro_doc_front_accessibilityonfido_doc_capture_header_live_guidance_no_doconfido_doc_capture_header_live_guidance_no_doc_accessibilityonfido_doc_capture_header_live_guidance_distance_closeonfido_doc_capture_header_live_guidance_distance_close_accessibilityonfido_doc_capture_header_live_guidance_distance_faronfido_doc_capture_header_live_guidance_distance_far_accessibilityonfido_doc_capture_header_live_guidance_distance_okonfido_doc_capture_header_live_guidance_distance_ok_accessibilityonfido_doc_capture_header_live_guidance_doc_too_leftonfido_doc_capture_header_live_guidance_doc_too_left_accessibilityonfido_doc_capture_header_live_guidance_doc_too_rightonfido_doc_capture_header_live_guidance_doc_too_right_accessibilityonfido_doc_capture_header_live_guidance_doc_too_highonfido_doc_capture_header_live_guidance_doc_too_high_accessibilityonfido_doc_capture_header_live_guidance_doc_slightly_highonfido_doc_capture_header_live_guidance_doc_slightly_high_accessibilityonfido_doc_capture_header_live_guidance_doc_too_lowonfido_doc_capture_header_live_guidance_doc_too_low_accessibilityonfido_doc_capture_header_live_guidance_doc_slightly_lowonfido_doc_capture_header_live_guidance_doc_slightly_low_accessibilityonfido_doc_capture_header_live_guidance_doc_position_okonfido_doc_capture_header_live_guidance_doc_position_ok_accessibilityonfido_doc_capture_header_live_guidance_intro_doc_frontonfido_doc_capture_header_live_guidance_intro_doc_backonfido_doc_capture_header_live_guidance_intro_doc_back_accessibilityonfido_doc_capture_header_live_guidance_intro_pp_photoonfido_doc_capture_header_live_guidance_intro_pp_photo_accessibility
10.1.0 -> 10.2.0
String Changes
Added
The following string keys have been added:
onfido_welcome_list_headeronfido_welcome_list_item_doc_photoonfido_welcome_list_item_doc_videoonfido_welcome_list_item_doc_genericonfido_welcome_list_item_face_photoonfido_welcome_list_item_face_videoonfido_welcome_list_item_face_genericonfido_nfc_select_title_passportonfido_nfc_select_subtitle_passportonfido_nfc_select_body_passportonfido_nfc_select_button_primary_passportonfido_nfc_select_button_secondary_passportonfido_nfc_intro_title_passportonfido_nfc_intro_subtitle_passportonfido_nfc_intro_button_primary_passportonfido_nfc_intro_sheet_header_ready_passportonfido_nfc_sheet_success_instructiononfido_nfc_fail_title_passportonfido_nfc_fail_list_item_remove_cover_passportonfido_nfc_fail_list_item_keep_contact_passportonfido_nfc_fail_button_primary_passportonfido_nfc_fail_button_secondary_passportonfido_nfc_select_title_cardonfido_nfc_select_subtitle_cardonfido_nfc_select_body_cardonfido_nfc_select_button_primary_cardonfido_nfc_select_button_secondary_cardonfido_nfc_intro_title_cardonfido_nfc_intro_subtitle_cardonfido_nfc_intro_sheet_header_ready_cardonfido_nfc_fail_title_cardonfido_nfc_fail_list_item_remove_cover_cardonfido_nfc_fail_list_item_keep_contact_cardonfido_nfc_sheet_success_instruction_cardonfido_nfc_intro_sheet_header_fail_passportonfido_nfc_intro_button_primary_cardonfido_nfc_intro_sheet_header_fail_cardonfido_nfc_fail_button_primary_cardonfido_nfc_fail_button_secondary_card
Changed
The following string keys have been changed:
onfido_doc_capture_header_folded_doc_frontonfido_doc_capture_header_folded_doc_backonfido_doc_capture_header_license_frontonfido_doc_capture_header_license_backonfido_doc_capture_header_permit_frontonfido_doc_capture_header_permit_backonfido_doc_capture_header_id_frontonfido_doc_capture_header_id_backonfido_doc_capture_header_permit_work_frontonfido_doc_capture_header_generic_frontonfido_doc_capture_header_permit_work_backonfido_doc_capture_header_generic_backonfido_doc_capture_header_visa_frontonfido_doc_capture_header_visa_backonfido_doc_capture_header_passportonfido_doc_capture_header_license_front_autoonfido_doc_capture_header_license_back_autoonfido_doc_capture_header_passport_autoonfido_doc_capture_frame_accessibility_pp_autoonfido_doc_capture_frame_accessibility_dl_front_autoonfido_doc_capture_frame_accessibility_dl_back_autoonfido_doc_capture_frame_accessibility_pp_manualonfido_doc_capture_frame_accessibility_dl_front_manualonfido_doc_capture_frame_accessibility_dl_back_manualonfido_doc_capture_frame_accessibility_ic_front_manualonfido_doc_capture_frame_accessibility_ic_back_manualonfido_doc_capture_frame_accessibility_rp_front_manualonfido_doc_capture_frame_accessibility_rp_back_manualonfido_doc_capture_frame_accessibility_dl_fr_front_manualonfido_doc_capture_frame_accessibility_dl_fr_back_manualonfido_doc_capture_frame_accessibility_ic_it_front_manualonfido_doc_capture_frame_accessibility_ic_it_back_manualonfido_doc_capture_frame_accessibility_ic_za_front_manualonfido_doc_capture_frame_accessibility_ic_za_back_manualonfido_doc_capture_frame_accessibility_pp_cover_manual
Removed
The following string keys have been removed:
onfido_nfc_select_titleonfido_nfc_select_subtitleonfido_nfc_select_button_primaryonfido_nfc_select_button_secondaryonfido_nfc_select_bodyonfido_nfc_intro_titleonfido_nfc_intro_sheet_header_readyonfido_nfc_intro_subtitleonfido_nfc_sheet_success_intructiononfido_nfc_intro_button_primaryonfido_nfc_fail_titleonfido_nfc_fail_list_item_remove_coversonfido_nfc_fail_list_item_keep_contactonfido_nfc_fail_button_primaryonfido_nfc_fail_button_secondary
10.0.0 -> 10.1.0
String Changes
Added
The following string keys have been added:
onfido_doc_capture_frame_accessibility_pp_autoonfido_doc_capture_frame_accessibility_dl_front_autoonfido_doc_capture_frame_accessibility_dl_back_autoonfido_doc_capture_frame_success_accessibilityonfido_doc_capture_frame_accessibility_rp_front_manualonfido_doc_capture_frame_accessibility_rp_back_manualonfido_doc_capture_frame_accessibility_ic_front_manualonfido_doc_capture_frame_accessibility_ic_back_manualonfido_doc_capture_frame_accessibility_dl_fr_front_manualonfido_doc_capture_frame_accessibility_dl_fr_back_manualonfido_doc_capture_frame_accessibility_ic_it_front_manualonfido_doc_capture_frame_accessibility_ic_it_back_manualonfido_doc_capture_frame_accessibility_ic_za_front_manualonfido_doc_capture_frame_accessibility_ic_za_back_manualonfido_video_capture_frame_accessibility
Changed
The following string keys have been changed:
onfido_selfie_capture_frame_accessibility
9.3.1 -> 10.0.0
Breaking API changes
- Removed deprecated methods and constructors of
DocumentTypeclass
String Changes
Added
The following string keys have been added:
onfido_permission_recovery_button_primaryonfido_permission_recovery_list_item_how_to_camonfido_permission_recovery_list_item_action_camonfido_permission_recovery_list_item_how_to_miconfido_permission_recovery_list_item_action_miconfido_permission_recovery_list_item_how_to_bothonfido_permission_recovery_list_item_action_bothonfido_video_capture_header_challenge_turn_forwardonfido_generic_uploadingonfido_doc_confirmation_alert_crop_detailonfido_doc_confirmation_alert_crop_titleonfido_doc_upload_progress_labelonfido_video_intro_list_item_time_limit_copyonfido_app_title_selfie_confirmationonfido_app_title_video_confirmationonfido_doc_capture_header_passport_autoonfido_doc_capture_detail_passportonfido_doc_capture_header_license_front_autoonfido_video_capture_bodyonfido_doc_capture_header_license_back_autoonfido_welcome_list_header_photoonfido_welcome_list_header_recordonfido_app_title_doc_confirmationonfido_app_title_permissiononfido_app_title_selfie_introonfido_app_title_video_introonfido_welcome_list_header_doc_videoonfido_app_title_doc_video_confirmationonfido_video_capture_turn_success_accessibility
Removed
The following string keys have been removed:
onfido_permission_extra_instructions_camonfido_permission_extra_instructions_miconfido_permission_extra_instructions_bothonfido_permission_recovery_button_primary_camonfido_permission_recovery_button_primary_miconfido_permission_recovery_button_primary_bothonfido_app_title_doc_capture_visaonfido_app_title_doc_capture_permit_workonfido_app_title_doc_capture_genericonfido_app_title_doc_capture_passportonfido_app_title_doc_capture_permitonfido_app_title_doc_capture_idonfido_app_title_doc_capture_licenseonfido_doc_capture_detail_passport_autoonfido_doc_confirmation_body_passportonfido_doc_confirmation_body_permitonfido_doc_confirmation_body_licenseonfido_doc_confirmation_body_idonfido_doc_confirmation_body_permit_workonfido_selfie_confirmation_button_primary_longonfido_selfie_confirmation_button_primary_shortonfido_selfie_confirmation_button_secondary_longonfido_selfie_confirmation_button_secondary_shortonfido_video_confirmation_titleonfido_welcome_list_item_doc_videoonfido_doc_confirmation_alert_no_barcode_titleonfido_welcome_button_primary_selfieonfido_welcome_button_primary_videoonfido_doc_capture_detail_license_front_auto
Changed
The following string keys have been changed:
onfido_app_title_welcomeonfido_permission_subtitle_camonfido_permission_body_camonfido_permission_recovery_title_camonfido_permission_recovery_subtitle_camonfido_permission_subtitle_miconfido_permission_body_miconfido_permission_recovery_title_miconfido_permission_recovery_subtitle_miconfido_permission_subtitle_bothonfido_permission_body_bothonfido_permission_button_primary_bothonfido_permission_recovery_title_bothonfido_permission_recovery_subtitle_bothonfido_doc_confirmation_button_primary_passportonfido_doc_confirmation_button_primary_permitonfido_doc_confirmation_button_primary_licenseonfido_doc_confirmation_button_primary_idonfido_doc_confirmation_button_primary_visaonfido_doc_confirmation_button_primary_genericonfido_doc_confirmation_button_primary_barcodeonfido_doc_confirmation_button_primary_permit_workonfido_doc_confirmation_button_secondary_passportonfido_doc_confirmation_button_secondary_idonfido_doc_confirmation_button_secondary_licenseonfido_doc_confirmation_button_secondary_permitonfido_doc_confirmation_button_secondary_permit_workonfido_doc_confirmation_button_secondary_visaonfido_doc_confirmation_button_secondary_genericonfido_video_capture_header_challenge_turn_leftonfido_video_capture_header_challenge_turn_rightonfido_video_intro_button_primaryonfido_selfie_intro_button_primaryonfido_doc_select_button_licenseonfido_doc_select_button_permitonfido_welcome_subtitleonfido_welcome_list_item_doconfido_welcome_list_item_selfieonfido_welcome_list_item_videoonfido_video_intro_titleonfido_doc_select_titleonfido_doc_select_subtitleonfido_country_select_bottom_sheet_detailsonfido_country_select_bottom_sheet_link_doc_selectonfido_selfie_intro_subtitleonfido_selfie_intro_list_item_face_forwardonfido_selfie_intro_list_item_no_glassesonfido_selfie_capture_bodyonfido_selfie_confirmation_bodyonfido_doc_capture_detail_visa_frontonfido_doc_capture_detail_visa_backonfido_selfie_confirmation_alert_no_face_titleonfido_selfie_confirmation_alert_no_face_detailonfido_doc_confirmation_alert_no_doc_detailonfido_doc_confirmation_body_visaonfido_doc_confirmation_body_genericonfido_doc_capture_detail_permit_frontonfido_doc_capture_detail_permit_backonfido_doc_capture_detail_license_frontonfido_doc_capture_detail_license_backonfido_doc_capture_detail_id_frontonfido_doc_capture_detail_id_backonfido_doc_capture_detail_permit_work_frontonfido_doc_capture_detail_generic_frontonfido_doc_capture_detail_permit_work_backonfido_doc_capture_detail_generic_backonfido_doc_capture_alert_glare_titleonfido_video_intro_subtitleonfido_video_intro_list_item_move_speakonfido_video_intro_list_item_time_limitonfido_video_capture_prompt_detail_timeoutonfido_video_confirmation_button_audio_unmuteonfido_country_select_error_no_country_titleonfido_country_select_error_no_country_bodyonfido_doc_capture_alert_manual_capture_detailonfido_doc_confirmation_alert_blur_titleonfido_doc_confirmation_alert_blur_detailonfido_doc_capture_alert_no_barcode_titleonfido_doc_capture_header_passportonfido_permission_body_miconfido_permission_body_bothonfido_doc_confirmation_button_primary_passportonfido_doc_confirmation_button_primary_idonfido_doc_confirmation_button_primary_visaonfido_doc_confirmation_button_primary_genericonfido_doc_confirmation_button_primary_barcodeonfido_doc_confirmation_button_primary_folded_doconfido_selfie_confirmation_button_secondaryonfido_selfie_confirmation_button_primaryonfido_app_title_doc_selectonfido_welcome_button_primary_doconfido_video_intro_video_accessibilityonfido_video_capture_frame_success_accessibilityonfido_video_confirmation_video_accessibilityonfido_video_capture_header_challenge_digit_instructions_accessibilityonfido_video_capture_header_challenge_turn_instructions_accessibilityonfido_video_capture_header_extra_instructions_accessibilityonfido_video_capture_header_challenge_turn_left_accessibilityonfido_video_capture_header_challenge_turn_right_accessibilityonfido_video_confirmation_button_play_and_pause_accessibilityonfido_doc_capture_button_accessibility
9.2.0 -> 9.3.0
Platform changes
- Migrated from JCenter to Maven Central. You will need to add
mavenCentral()into therepositoriesblock, if it is not already added.
9.0.0 -> 9.1.0
String Changes
Added
The following string keys have been added:
onfido_user_consent_button_primaryonfido_user_consent_button_secondaryonfido_user_consent_prompt_no_consent_titleonfido_user_consent_prompt_no_consent_detailonfido_user_consent_prompt_button_primaryonfido_user_consent_prompt_button_secondaryonfido_app_title_user_consent
Deprecated API Changes
CAMERA_PERMISSION_DENIEDinExitCodeenum is deprecated as permissions are being handled inside the SDK.
8.1.0 -> 9.0.0
Breaking changes
- Updated to OkHttp4. In order to prevent runtime issues due to library conflicts, the host app must match the major version of the OkHttp.
7.4.0 -> 8.0.0
Breaking changes
- Minimum Android API level (minSdkVersion) support has been updated from 16 to 21. Onfido SDK will stop supporting Android 4.x starting with this version.
String Changes
Added:
The following string keys have been added:
onfido_outro_body
Changed
The following string keys have been changed:
onfido_video_confirmation_button_primary
7.3.0 -> 7.4.0
String Changes
Added:
The following string keys have been added:
onfido_app_title_doc_capture_id_za
Changed
- ⚠️ Most of the localisation keys have been renamed. If you have customised any of the Onfido SDK's strings in your project, you may use migrate-keys.rb script and key mapping file key_migration_7_3_0_mapping.json to migrate from 7.3.0 to 7.4.0
1migrate-keys.rb --files-path <app/src/main/res/> --platform android --key-mapping-file key_migration_7_3_0_mapping.json
7.0.0 -> 7.1.0
Deprecated API Changes
- EnterpriseFeatures class' constructor is deprecated. Please use
EnterpriseFeatures.Builderinstead.
Before:
Kotlin
1EnterpriseFeatures(true)
Java
1new EnterpriseFeatures(true);
After:
Kotlin
1val enterpriseFeatures: EnterpriseFeatures = EnterpriseFeatures.Builder().withHideOnfidoLogo(true).build()
Java
1EnterpriseFeatures enterpriseFeatures = EnterpriseFeatures.builder().withHideOnfidoLogo(true).build();
6.0.0 -> 7.0.0
Breaking changes
- Migrated to AndroidX. If your app hasn't completed AndroidX migration yet, please see AndroidX Migration.
String Changes
Changed:
The following string keys have been changed:
onfido_autocapture_manual_fallback_titleonfido_autocapture_manual_fallback_description
5.6.0 -> 6.0.0
Breaking changes
- Removed out-of-the-box Portuguese (
pt) translation. If you would like to keep supporting Portuguese by providing your own XML files, please see README - SDK will return
DocumentType.UNKNOWNto mirror the Onfido API response as part of theCapturesobject which is provided byhandleActivityResultifresidence permitorgenericis selected
String Changes
Added
The following string keys have been added:
onfido_accessibility_video_pauseonfido_accessibility_video_play
5.5.0 -> 5.6.0
Deprecated API Changes
- The
CaptureScreenStepclass is deprecated. We now recommendDocumentCaptureStepBuilderto customise document capture steps
Before:
Java
1new CaptureScreenStep(DocumentType.NATIONAL_IDENTITY_CARD, CountryCode.GB);
Kotlin
1CaptureScreenStep(DocumentType.NATIONAL_IDENTITY_CARD, CountryCode.GB)
After:
Java
1DocumentCaptureStepBuilder.forNationalIdentity()2 .withCountry(CountryCode.GB)3 .build();
Kotlin
1DocumentCaptureStepBuilder.forNationalIdentity()2 .withCountry(CountryCode.GB)3 .build()
- The
FaceCaptureStepclass is deprecated. We now recommendFaceCaptureStepBuilderto customise face capture steps
Before:
Java
1FlowStep selfieCaptureStep = new FaceCaptureStep(new FaceCaptureVariantPhoto(false));23FlowStep videoCaptureStep = new FaceCaptureStep(new FaceCaptureVariantVideo(false));
Kotlin
1val selfieCaptureStep = FaceCaptureStep(FaceCaptureVariantPhoto(false))23val videoCaptureStep = FaceCaptureStep(FaceCaptureVariantVideo(false))
After:
Java
1FlowStep selfieCaptureStep = FaceCaptureStepBuilder.forPhoto()2 .withIntro(false)3 .build();45FlowStep videoCaptureStep = FaceCaptureStepBuilder.forVideo()6 .withIntro(false)7 .build();
Kotlin
1val selfieCaptureStep = FaceCaptureStepBuilder.forPhoto()2 .withIntro(false)3 .build()45 val videoCaptureStep = FaceCaptureStepBuilder.forVideo()6 .withIntro(false)7 .build()
String Changes
Added:
The following string keys have been added:
onfido_mrz_not_detected_titleonfido_mrz_not_detected_subtitle
5.3.3 -> 5.4.0
String Changes
Added:
The following string keys have been added:
onfido_italian_id_capture_titleonfido_french_driving_license_capture_titleonfido_folded_paper_optiononfido_plastic_card_optiononfido_driving_license_type_selection_titleonfido_national_identity_type_selection_titleonfido_folded_paper_front_capture_titleonfido_folded_paper_front_capture_subtitleonfido_folded_paper_back_capture_titleonfido_folded_paper_back_capture_subtitleonfido_folded_paper_confirmation_titleonfido_upload_photoonfido_retake_photo
Deprecation
- Deprecated properties of
DocumentTypeclass
4.5.0-F5 -> 5.3.2 - [enterprise]
Breaking API changes
- Removed
OnfidoCertificatePinningSettingsclass which hasONFIDO_APIparameter to provide root certificate's hash value. For more information, please visit our README.md
5.2.0 -> 5.3.0
String Changes
Added
The following string keys have been added:
onfido_label_doc_type_generic_up
Changed
The following string keys have been changed:
onfido_accessibility_liveness_video_example
5.1.0 -> 5.2.0
String Changes
Added
The following string keys have been added:
onfido_accessibility_liveness_face_detected
5.0.1 -> 5.1.0
String Changes
Added
The following string keys have been added:
onfido_accessibility_camera_document_capture_viewonfido_accessibility_face_confirmation_viewonfido_accessibility_document_confirmation_viewonfido_accessibility_liveness_confirmation_viewonfido_accessibility_video_preview_recordedonfido_accessibility_liveness_digitsonfido_accessibility_liveness_moveonfido_accessibility_thenonfido_accessibility_liveness_leftonfido_accessibility_liveness_rightonfido_accessibility_liveness_play_pauseonfido_accessibility_take_picture
5.0.0 -> 5.0.1
Changed
- No longer obfuscating
com.monadtek.mvppackage
4.11.0 -> 5.0.0
Applicant removal and Token change
Breaking change
- Applicant class removed from the SDK
- Applicant parameter removed from the
OnfidoResultListenercallback methods - Removed deprecated
withApplicant(Applicant)method on theOnfidoConfig.Builderclass as SDK no longer creates applicants
Deprecation
- The
withApplicant(String)and thewithToken(String)methods are deprecated from theOnfidoConfig.Builder, we now recommend that create a SDK Token on your backend which containsapplicantIdand usewithSDKToken(String)method to initialise the OnfidoConfig
Before
The initialisation of the SDK by passing the applicant ID and the (static) mobile token:
1val OnfidoConfig config = OnfidoConfig.builder()2 .withToken("YOUR_MOBILE_TOKEN")3 .withApplicant("YOUR_APPLICANT_ID")4 .build();
or if you were using the deprecated withApplicant(Applicant) method:
1val applicant = Applicant.builder()2 .withFirstName("Your first name")3 .withLastName("Your first name")4 .build()56val onfidoConfig = OnfidoConfig.builder()7 .withApplicant(applicant)8 .withToken("YOUR_MOBILE_TOKEN")9 .build();
The SDK callback where the Applicant type object was passed:
1@Override2protected void onActivityResult(int requestCode, int resultCode, Intent data) {3 ...4 onfido.handleActivityResult(resultCode, data, new Onfido.OnfidoResultListener() {5 @Override6 public void userCompleted(Applicant applicant, Captures captures) {7 //communicate with your backend and initiate the check8 }910 @Override11 public void userExited(ExitCode exitCode, Applicant applicant) {12 //User left the sdk flow without completing it13 }1415 @Override16 public void onError(OnfidoException exception, @Nullable Applicant applicant) {17 // An exception occurred during the flow18 }19 });20}
After
Neither the (static) mobile token nor the Applicant ID are expected anymore, you are now expected to pass the SDK token which is generated by calling the Onfido API:
1val sdkToken: String = createSdkToken() // https://github.com/onfido/onfido-android-sdk/blob/master/README.md#41-sdk-token23val onfidoConfig = OnfidoConfig.builder(context)4 .withSDKToken(sdkToken)5 .build()
The SDK callback no longer passes an Applicant object:
1@Override2protected void onActivityResult(int requestCode, int resultCode, Intent data) {3 ...4 onfido.handleActivityResult(resultCode, data, new Onfido.OnfidoResultListener() {5 @Override6 public void userCompleted(Captures captures) {7 //communicate with your backend and initiate the check8 }910 @Override11 public void userExited(ExitCode exitCode) {12 //User left the sdk flow without completing it13 }1415 @Override16 public void onError(OnfidoException exception) {17 // An exception occurred during the flow18 }19 });20}
US Driver's license optional feature
Breaking change
- Removed
withUSDLAutocapture()method from theOnfidoConfig.Builder. Autocapture enabled by default for the US driving licences.
Added strings:
onfido_autocapture_manual_fallback_titleonfido_autocapture_manual_fallback_description
Removed strings:
onfido_autocapture_infoonfido_press_button_captureonfido_barcode_error_subtitleonfido_barcode_error_third_title
Changed Strings:
onfido_barcode_error_title
4.8.0 -> 4.11.0
Added strings:
onfido_accessibility_liveness_video_exampleonfido_accessibility_camera_face_capture_view
4.7.0 -> 4.8.0
Added strings:
onfido_label_doc_type_work_permit_uponfido_message_side_document_front_genericonfido_message_side_document_back_genericonfido_message_check_readability_subtitle_genericonfido_message_document_capture_info_front_genericonfido_message_document_capture_info_back_genericonfido_confirm_generic_document
Removed strings:
onfido_label_doc_type_passportonfido_label_doc_type_driving_licenseonfido_label_doc_type_id_cardonfido_label_doc_type_visa
4.6.0 -> 4.7.0
Changed Strings:
onfido_country_selection_toolbar_titleonfido_unsupported_document_description
4.5.1 -> 4.6.0
Added Strings:
onfido_label_doc_type_visaonfido_label_doc_type_visa_uponfido_message_document_visaonfido_message_check_readability_subtitle_visaonfido_confirm_visaonfido_liveness_intro_subtitleonfido_liveness_intro_step_1_titleonfido_liveness_intro_step_2_titleonfido_liveness_intro_loading_videoonfido_reloadonfido_unable_load_unstable_networkonfido_unable_load_offline
Removed strings:
onfido_nextonfido_liveness_intro_titleonfido_liveness_intro_subtitle_1_actiononfido_liveness_intro_subtitle_2_actionsonfido_liveness_intro_subtitle_some_actionsonfido_liveness_intro_third_subtitle_1_actiononfido_liveness_intro_third_subtitle_2_actionsonfido_liveness_intro_third_subtitle_some_actionsonfido_liveness_challenge_open_mouth_titleonfido_liveness_challenge_nextonfido_liveness_challenge_stoponfido_stoponfido_liveness_challenge_recordingonfido_video_recordedonfido_camera_access_recover_instructions_subtitle
3.0.0 -> 4.0.0
- Changed the
Applicantparameter on theuserCompleted(Applicant applicant, Captures captures)callback to be a non-nullable field, meaning that we guarantee this field will always contain information about the applicant whenever this callback is called. Any null check being applied may now be deleted. - Changed the
Applicantparameter on theonError(OnfidoException exception, @Nullable Applicant applicant)callback to be a nullable value, meaning that depending on the error originating the callback, the applicant details might benull. Therefore, developers should add the correspondent null check before accessing its information.
2.4.0 -> 3.0.0
-
Added
onError(OnfidoException exception, Applicant applicant)method on theOnfidoobject, used to get the result of the identity verification flow. This callback will be called whenever an exception that the end-user should not be able to overcome by itself occurs during the flow. The new method should be implemented and the exception handled accordingly. -
Upgraded our infrastructure and SDK client SSL configurations to support TLSv1.2 only. According to the relevant Google documentation, this support comes enabled by default on every device running Android API 20+. In case you need to support devices older than that in your integration with the Onfido Android SDK, we need to access Google Play Services to install the latest security updates, which enable this support. As such, if you don't use Google Play Services on your integration yet, we require you to add the following dependency:
gradle1compile ('com.google.android.gms:play-services-base:x.y.z') {2 exclude group: 'com.android.support' // to avoid conflicts with your current support library3}
2.0.0 -> 2.1.0
Deprecations
- Deprecated
withApplicant(Applicant applicant)method. We now recommend that you create an Onfido applicant yourself on your backend and thewithApplicant(String id)method should be called with the id of the created applicant.
1.0.0 -> 2.0.0
Breaking changes
- Removed
FlowStep.MESSAGE_FACE_VERIFICATION, which is now automatically added before any face capture with the variantFaceCaptureVariant.PHOTO. This way, any inclusion of this step in a custom flow should be removed
0.9.2 -> 1.0.0
Breaking changes
- Removed the
allowMetrics(boolean)method from theOnfidoConfig.Builderobject. Every call to this method should be deleted - Removed the previously deprecated
FlowStep.MESSAGE_IDENTIFY_VERIFICATIONenum instance, as it was too specific for our generic flow intentions. Every previous inclusion of this object on a flow should be replaced by a customMessageScreenStep


