Changes:
- Added support for our SDK to be themed
- Light and dark mode color themes. We'll also continue to support specifying only a primary color for each mode
- Typography theme (system and custom fonts, font weight, size, line height multiple and kern)
- Spacing mode (compact, regular and relaxed)
- Shape theme (corner radius and border width)
- Icon theme (custom vectors, system and custom SF Symbols, incl. localized ones)
- Illustration theme (custom vectors)
- Significant improvements to all flows by removing redundant screens, and allowing other ones to be skipped
- The flow completion state of the upload screen is now configurable on all flows as one that can be skipped
- The capture education/guidance screen of a face capture flow, or a static liveness one, can also be skipped
Important: This is a major release, so please read through the updated README for required changes to your integration. Most importantly, we've added a requirement on YotiSDKDataSource
to provide a YotiSDKConfiguration
object as part of each session. Apart from that, we've simplified our function signatures and removed unnecessary types from our API.