dot_document 0.1.0 dot_document: ^0.1.0 copied to clipboard
A Flutter plugin, as a part of Innovatrics DOT Flutter SDK, that provides components for document capture and related functionalities for a Flutter project.
DOT Document #
A Flutter plugin, as a part of Innovatrics DOT Flutter SDK, that provides components for document capture and related functionalities which are easy to integrate into a Flutter project.
Requirements #
Android | iOS | |
---|---|---|
Support | SDK 21+ | iOS 11+ |
Licensing #
Obtain a license file and include it into your project:
- Make sure that Application ID of your host Android app and Bundle ID of you host iOS app are the same value (e.g.
com.innovatrics.dot.flutter.example
):- Android: See
applicationId
inbuild.gradle
. - iOS: See General tab in Xcode.
- Android: See
- In order to obtain the license file, please contact your Innovatrics’ representative specifying your Application/Bundle ID.
- Include the license file into your app as an asset.
Basic Setup #
Setup iOS platform #
You need to include Innovatrics' Cocoapods repository source into PodFile
file of your iOS runner application prior to using DOT SDK.
source 'https://github.com/innovatrics/innovatrics-podspecs'
In case DOT SDK will be part of another Flutter plugin, include this setup into its README.md
file.
Initialization #
Before using any of the components, you need to initialize DOT SDK with the license and [DotDocumentLibrary] object. See DotSdk.initialize() for more details.
Deinitialization #
When a process (e.g. onboarding) has been completed, it is usually a good practice to free the resources used by it. See DotSdk.deinitialize() for more details.
Components #
Overview #
DOT Document plugin provides UI components. These are available as widgets and can be added to your widget tree.
List of UI Components (Widgets)
- Document Auto Capture: A visual component for capturing good quality images suitable for optical character recognition. See
DocumentAutoCaptureWidget
for more details.
Example app #
Find the example app here.