FACEKI Identity Verification KYC V2
  • Getting Started
  • Integrations
  • Quick Guides
    • Dashboard
    • SDK Settings
    • Verification Settings
    • Verification Monitoring
    • Integration Setting
    • Image Guidelines
  • API Integration
    • Verification APIs
      • Generate Token
      • Get KYC Rules
      • Single KYC Verification
      • Multiple KYC Verification
      • KYC Summary API
      • Generate KYC Link
      • Get KYC records by Link
      • Get KYC records By Reference ID
      • Get KYC records By RequestID
      • Face Match API (💲)
  • Data Fields
    • Verification Data
    • Error Codes
  • Mobile SDK
    • Flutter SDK / Plugin
    • React Native SDK / Plugin
    • Native iOS SDK
    • Native Android SDK
  • Web SDK
    • React
    • Angular
    • HTML
    • Laravel
  • API Libraries
    • NodeJS API Library
    • Python API Library
    • .NET API Library
  • Starter Kits
    • React Native Starter Kit
  • No Integration Option
    • Zero Integration
  • Need Help?
    • Support
      • Support Ticket
      • Skype
      • Email Support
    • Community
    • FAQ's
Powered by GitBook
On this page
  • Installation
  • Usage:
  1. Mobile SDK

Flutter SDK / Plugin

Flutter SDK for KYC

Installation

First, add facekikyc: ^1.0.0 as a [dependency in your pubspec.yaml file]

https://pub.dev/packages/facekikyc

iOS Setup

Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

  • NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.

    • This permission will not be requested if you always pass false for requestFullMetadata, but App Store policy requires including the plist entry.

  • NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.

Android Setup

Add this permission to your AndroidManifest.xml File

  • <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

  • <uses-permission android:name="android.permission.INTERNET" />

Usage:


  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
     
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: facekikyc(
        clientId: "2b8tr0234c8aq878vhdap44l63",
        clientSecret: "1caci0co3hs8rlc18tj7vbqadrb44nhtu7ipelk0nr4lftf0h5l6",
        onSuccess: (po) {
          // action to be done
          print("success response is $po");
        },
        onError: (po) {
// action to be done
          print("error response is $po");
        },
      ),
    );
  }
PreviousError CodesNextReact Native SDK / Plugin

Last updated 1 year ago