Flutter was the perfect fit — it’s one of today’s leading frameworks for mobile app development, thanks to:
- A single codebase for both iOS and Android
- Backing by Google as an open-source project
- A massive community and plugin library
However, initial testing surfaced a critical challenge: despite Flutter’s cross-platform strengths, it struggled to handle the computational demands of biometric processing.
Early app prototypes suffered from frequent freezes, lags, and overall instability — not acceptable for identity verification solutions.
To solve this,
we extended our Flutter API to support Dart Isolates, enabling asynchronous execution of compute-intensive tasks. This improvement allowed the partner to:
- Offload CPU-heavy biometric operations to separate threads.
- Eliminate UI freezing during facial analysis.
- Improve overall app responsiveness and stability — even on budget devices.
We also optimized performance by moving several image-processing operations — such as frame rotation, decoding, and saving — from Dart into native SDK code.
This shift gave a noticeable speed-up to the biometric pipeline, making the entire onboarding experience faster and more responsive.