- Add new cases to
ActionResult
including an unknown case to handle values that do not match the defined enum cases. - Add a custom decoding initializer to ActionResult that supports defaulting unexpected values to the unknown case.
- Remove force unwrapping for getting files from storage
- Handle unauthorized camera status
- Breaking Change: Updated the networking layer to use Swift's
async/await
instead of Combine'sAnyPublisher
and now returnasync
functions. This improves readability and aligns with modern Swift concurrency practices.- All instances where these methods are used have been updated accordingly.
- Update generic errors with actual platform errors
- Made the
Color
extension initializer with hex values public.
- Made the MultipartBody init func public
- Fixed decoding error for confidence value
- Improved SmartSelfie Enrollment and Authentication times by moving to a synchronous API endpoint
- Fixed a bug where invalid file paths were returned and retries did not work
- Fix Lottie SPM dependency issues
- Ignore
user_id
,job_id
, andjob_type
fields inextraPartnerParams
- Added an Offline Mode, enabled by calling
SmileID.setAllowOfflineMode(true)
. If a job is attempted while the device is offline, and offline mode has been enabled, the UI will complete successfully and the job can be submitted at a later time by callingSmileID.submitJob(jobId)
- Add PrivacyInfo Manifest
- Added polling extensions for products
- PartnerParams extras fixed to be in the correct format for the requests
- PartnerParams extras fixed to cater for the Photo param used in sandbox testing
- Set
IdInfo.entered
to true for Biometric KYC Jobs
- Carthage support
- Exposed individual components as Swift UI Components
- Removed the Skip Button from Back of ID Capture
- Added
instructionsHeroImage
as a new parameter toDocumentCaptureScreen
- Added
heroImage
as a new parameter toDocumentCaptureInstructionsScreen
- Updated Document Verification hero images
- Improvements to the selfie capture experience
- Allow agent mode in Biometric KYC
- Fixed captureBothSides on iOS being inverted
- Fixed missing selfie instructions screen on DocV and EnhancedDocV
- Fixed broken disable capture both sides flag
- Fixed show skip button on capture both sides
- Added allowNewEnroll on SmartSelfie, BiometricKYC, DocV and EnhancedDocV
- Fixed missing callbackUrl
- Fixed a bug on iOS 14 devices where the document and selfie cutouts were white insteaad of transparent
- Fixed missing info.json issue on Smartselfie Enrollment and Smartselfie Authentication
- No changes
- Removed DocumentVerificationResultDelegate from extending AnyObject so it doesn't have to always be used in classes
- Removed EnhancedDocumentVerificationResultDelegate from extending AnyObject so it doesn't have to always be used in classes
- Enhanced KYC (synchronous)
- Updated document capture to preserve aspect ratio in preview
- Updated visibility of networking models to public
- Consent Screen SwiftUI View
- Biometric KYC no longer bundles the Consent Screen
- Biometric KYC no longer bundles an ID Type selector or input
- Biometric KYC
- Consent Screen
- BVN OTP API calls and models
- Added
extras
as optional params on all job types - Added
allowAgentMode
option on Document Verification and Enhanced Document Verification
- Default to
production
onSmileID.initialize()
- Increased selfie capture resolution to 640px
- Fixed missing
IdInfo
initializer
- Enhanced Document Verification
- New JobStatusResponses that depend on the job type
- Set the callback URL by calling
SmileID.setCallbackURL(_:)
- Renamed
DocumentCaptureResultDelegate
->DocumentVerificationResultDelegate
- Delegate types updated to accept generic
JobStatusResponse
objects - Provide
nil
as default values foruserId
andjobId
onAuthenticationRequest
- Made public the properties in
ServicesResponse
and its nested classes
- Document Verification UI bugs
- Fixed a bug where Services models would have incorrect or duplicate data
- Fixed a bug where Document Verification results were not being delivered to the delegate
- Document Verification
- Navigation router using
UINavigationController
- Linting within Xcode
- Convenience method for partners to poll the
jobStatus
endpoint
- Return images captured from selfie capture and document capture as URLs
filename
property fromPrepUploadRequest
jobStatus
polling fromSmartSelfieAuthentication
,SmartSelfieEnrollment
andDocumentVerification
- SwiftLint
- Declare
jobType
property ofPartnerParams
as optional
- Declare
jobType
property ofAuthenticationRequest
as optional
- Expose
sourceSdk
andsourceSdkVersion
initializers and properties
- Expose
AuthenticationRequest
andAuthenticationResponse
initializers and properties
- Set default value for config param on
initialize
method - Expose initializers for
PartnerParams
andEnhancedKycAsycResponse
models
- Enhanced KYC Async API endpoint
- Point Podspec to public repo
- Point Pacakge.swift to the Resource directory
- Rename ImageType enums to drop PNG support
- Add a
SmileID.version
constant
- Fix bug where reenroll is enabled on every job
- Initial release 🎉
- SmartSelfie™ Authentication and Enrollment
- Theming
- Networking
- Zip