Last updated:
0 purchases
gts myid
gts_myid #
GTS-MyID SDK flutter plugin.
Table of contents #
Project adjustments
Usage
SDK error codes
Android SDK: 1.0.2
iOS SDK: 1.0.1
Project adjustments #
iOS #
Update your iOS configuration files
Change ios/Podfile to use version 12:
platform :ios, '12.0'
copied to clipboard
Add descriptions for camera permission to ios/YourProjectName/Info.plist:
<plist version="1.0">
<dict>
<!-- Add these two elements: -->
<key>NSCameraUsageDescription</key>
<string>Required for document and facial capture</string>
<!-- ... -->
</dict>
</plist>
copied to clipboard
Usage #
var result = await GtsClient.start(
config: GtsConfig(
locale: GtsLocale.english
),
);
copied to clipboard
Parameters details:
Method
Notes
Default
locale
To set a specific locale
GtsLocale.kyrgyz
SDK error codes #
The error code in the following list may appear during the call of SDK. The list below is for your
reference.
Code
Error message
101
Unexpected error
102
Camera access denied
Getting Started with Flutter plugins #
This project is a starting point for a Flutter
plug-in package,
a specialized package that includes platform-specific implementation code for
Android and/or iOS.
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.