Resources
Best practices
- Use the official Flutter plugin. Do not implement the native SDKs via bridges — this approach generates errors not mapped by Unico's Engineering team.
- Initialize the plugin on application load (
main()orinitState()), not on the capture button click. Authentication with the backend takes a few seconds and, if done together with the camera opening, creates a perception of lag. - Validate the configuration of both platforms (Android and iOS) before publishing.
- Keep the plugin and underlying native SDKs updated. Unico is not responsible for issues in deprecated versions.
Reference app
Unico offers a reference app for Flutter in the reference-apps repository. It implements the full user journey with the plugin.
| Flow | Description | Repository |
|---|---|---|
| User Journeys | Reference app in Flutter that implements the full user journey flow | GitHub — reference-apps/flutter |