Flutter (deprecated)

The Smile ID flutter SDK only works on native mobile apps and not for mac or web. The wrapper has three main components, Selfie, ID Card and Job submission.

This SDK is deprecated and will receive limited support. Please adopt the v10 SDK: https://github.com/smileidentity/docs/blob/main/mobile/flutter/broken-reference/README.md

For flutter 3 please check https://pub.dev/packages/smile_flutter_3

The major difference is in importing as

import 'package:smile_flutter_3/smile_flutter_3.dart';

This documentation is valid for flutter 3 as well

Prerequisites

  1. Before attempting integration head over to the Smile ID Portal and sign up for an account

  2. On the Smile ID Portal download a config file from here (DO NOT SHARE THIS FILE WITH ANYONE OUTSIDE YOUR ORGANISATION) You can download your Smile ID config file again at any time and do not edit the contents of this file.

Main Mobile SDK Components

Regardless of which integration method you choose the SDK has the below mentioned main components, everything else stems from these main components

SmartSelfie

This is our signature selfie capture component that is optimised for our backend processing of images, it's the best option for capturing images which produce the best results. This has a range of image checks like light checks, blur detection etc which are all effective in capturing the best images for the final processing on the backend.

Document Capture

This is a view which is best at capturing images for documents and will perform a range of checks like face detection, light checks and blur detection to make sure we have the best images for the final backend processing

Job Submission

This is a network layer related functionality which is responsible for all captured on device information to the Smile ID Backend for processing. This also will deliver results to your integration method as returned by the Smile ID Backend.

1**. INSTALLATION**

https://pub.dev/packages/smile_flutter

To use this plugin, add smile_flutter as a dependency in your pubspec.yaml file. You must also configure Smile ID SDK for each platform project:

Last updated