enroll_plugin 1.5.0
enroll_plugin: ^1.5.0 copied to clipboard
eNROLL is a compliance solution that prevents identity fraud and phishing. Powered by AI, it reduces errors and speeds up identification, ensuring secure verification.
1.5.0 #
Added #
- Sign Contract PDF file flow —
signContractFilecan be used withEnrollMode.signContractto send PDF bytes through the native SDK. - Optional
contractFileNamefor Sign Contract PDF uploads. If omitted, the native SDK sends a timestamp filename likeyyyyMMdd_HHmmss.pdf. - README Sign Contract section explaining template-based and PDF-file-based configurations.
- Typography customization — new
EnrollTypographyfield onEnrollTheme, mirroring the native SDK APIs. - New public types:
EnrollTypography,EnrollFontSizes,EnrollTextStyle,EnrollLocalizationOverrides. - JSON-file based localization overrides via
EnrollLocalizationOverrides(englishFileName:, arabicFileName:). Files are resolved from the host app's main bundle on iOS and from app assets on Android. - Full Android example localization override files for English and Arabic, generated from the native SDK string resources.
- Example app demonstrates typography + localization overrides; see
example/README.mdfor host-app font/JSON registration steps.
Notes #
- Android:
theme.typographyis forwarded to the native SDK when using Android SDKv1.5.25or newer.
1.4.0 #
Added #
EnrollPluginnow exportsEnrollColors,EnrollTheme, andEnrollIconsfrom the main library entry point.- **Icon customization ** — new
enrollTheme: EnrollThemeparameter onEnrollPluginfor unified colors + icons customization. - New public types:
EnrollTheme,EnrollIcons,EnrollLogoConfig,EnrollLogoMode,EnrollStepIcon,EnrollIconRenderingMode. - New per-step icon groups:
EnrollLocationIcons,EnrollNationalIdIcons,EnrollPassportIcons,EnrollPhoneIcons,EnrollEmailIcons,EnrollFaceMatchingIcons,EnrollSecurityQuestionsIcons,EnrollPasswordIcons,EnrollSignatureIcons,EnrollCommonIcons,EnrollBackgroundIcons,EnrollPopupIcons,EnrollFieldIcons,EnrollUiIcons,EnrollUpdateIcons,EnrollForgetIcons. - README section documenting icon customization and the full slot map.
1.3.9 #
update android sdk
1.3.8 #
Improvements #
- ePassport enhancements.
appColorsnow correctly applied on both Android and iOS. Previously it was silently ignored in some configurations.- iOS colors are now always emitted at root level in the native bridge payload, ensuring full backward compatibility without any iOS native changes.
enrollThemefallback: ifappColorsis provided withoutenrollTheme, it is automatically wrapped into anEnrollThemeinternally.
Notes #
enrollThemeis under active development and currently supported on Android only. iOS support is coming in a future release. UseappColorsfor cross-platform color customization.appColorsremains fully supported and is the recommended approach untilenrollThemereaches full cross-platform support.
1.3.7 #
New Feature #
- Added support for ePassport-based onboarding, enabling users to verify their identity using electronic passports.
- For configuration and usage details, see the ePassport Onboarding Documentation.