idmeta_kit 1.0.3 copy "idmeta_kit: ^1.0.3" to clipboard
idmeta_kit: ^1.0.3 copied to clipboard

IDMeta Kit streamlines the integration of MetaPeta API in Dart apps, simplifying complex tasks. Easily incorporate compliance, biometrics, and country-specific verifications with minimal code. It enha [...]

IDMeta Kit #

idmeta_kit is a sophisticated Dart package engineered to facilitate the seamless integration and efficient management of the MetaPeta API within your applications.

Key Features #

  • Streamlined integration, alleviating the complexities associated with API integration in your applications.

Installation #

To integrate idmeta_kit into your project, simply add it to your pubspec.yaml file:

dependencies:
  idmeta_kit: ^0.1.0

Execute flutter packages get to install the SDK.

Then, in your Dart code, import the package:

import 'package:idmeta_kit/idmeta_kit.dart';

Getting Started #

Before harnessing this SDK, initialize it with the access token obtained from the IDMeta Dashboard:

IDMeta Dashboard -> Settings -> Profile -> Access Token

Here's how you can initialize the SDK:

IdMeta.init(authToken: 'Your Access Token');

Supported IDMeta Categories #

The SDK encompasses a wide array of categories, including:

  • IDMeta Compliance

    • AntiMoneyLaundering - ('Anti Money Laundering')
    • EmailRisk - ('Email Risk')
    • PhoneRisk - ('Phone Risk')
  • IDMeta Indonesia

    • Dukcapil - ("Dukcapil"),
    • DukcapilFaceMatch - ("Dukcapil Face match")
  • IDMeta Biometric

    • BiometricsFaceCompare - ('Biometrics Face Compare')
    • BiometricsRegistration - ('Biometrics Registration')
    • BiometricsVerification - ('Biometrics Verification')
  • IDMeta Philippines

    • GovDrivingLicense - ("Driving License")
    • GovNBIClearance - ("NBI Clearance")
    • GovNationalPolice - ("National Police")
    • GovPRC - ("PRC")
    • GovUMIDSSN - ("UMID/SSN")
  • IDMeta Document Verification

    • DocumentVerification-('Document Verification')

Usage #

Once integrated, you can effortlessly utilize any category with minimal code. Below is an example of initiating an Anti Money Laundering check:

IdMeta idMeta = IdMeta.init(
  authToken: 'Your Access Token',
);

final result = await idMeta!.startVerification(
    context: context,
    type: IdMetaCompliance.AntiMoneyLaundering,
);

Upon completion of the SDK verification process, you will receive the result in JSON format, allowing you to seamlessly implement it within your application.

Additional Notes #

During initialization, we can specify the waitingTime. By default, the waiting time is set to 5 seconds if not provided. This waiting time is utilized in some categories that require two API calls. For instance, in IdMetaCompliance.EmailRisk, two API calls are necessary:

  1. To send the recipient email to the server.
  2. To retrieve the verification result from the server.

A brief delay between the first and second API calls ensures successful data retrieval without any issues.

0
likes
60
points
35
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

IDMeta Kit streamlines the integration of MetaPeta API in Dart apps, simplifying complex tasks. Easily incorporate compliance, biometrics, and country-specific verifications with minimal code. It enhances app security and functionality with comprehensive verification support.

Homepage

License

BSD-3-Clause (license)

Dependencies

build_runner, dio, easy_debounce_throttle, face_camera, flutter, flutter_bloc, flutter_screenutil, flutter_svg, freezed, freezed_annotation, gauge_indicator, image_picker, intl, json_annotation, json_serializable, permission_handler

More

Packages that depend on idmeta_kit