flutter_meon_kyc 1.2.3 copy "flutter_meon_kyc: ^1.2.3" to clipboard
flutter_meon_kyc: ^1.2.3 copied to clipboard

A Flutter package for handling Know Your Customer (KYC) processes in mobile applications.

flutter_meon_kyc #

A Flutter package to simplify the implementation of Know Your Customer (KYC) processes in mobile applications. This package provides an easy way to integrate KYC functionality, including identity verification and document handling, in your Flutter app.

Features #

  • Easy integration with KYC processes in mobile apps.
  • Supports document verification (ID cards, addresses, etc.).
  • Provides a customizable UI for KYC forms.
  • WebView support for external KYC verification processes.

Getting started #

To use this package, ensure that you have Flutter installed on your machine. You can install Flutter by following the instructions here: Flutter Installation.

  1. Add flutter_meon_kyc to your pubspec.yaml dependencies:
dependencies:
  flutter_meon_kyc: ^1.2.3


## How to Use the KYC SDK

### 1. Initialize SDK with Custom Parameters

Once the permissions are granted, you can initialize the SDK by navigating to the `SDKCall` screen. You need to pass two key parameters:

- **`companyName`**: The name of the company that is handling the KYC process.
- **`workflowName`**: The specific KYC workflow that you wish to invoke.

### 3. Example Usage

Here’s a step-by-step guide to implementing the SDK call in your app:

#### Request Permissions and Navigate to KYC Screen

This code snippet demonstrates how to check for permissions and navigate to the `SDKCall` screen with the required parameters:

```dart
@override
Widget build(BuildContext context) {
  return Scaffold(
    appBar: AppBar(
      title: const Text('Flutter Kyc App'),
    ),
    body: Center(
      child: ElevatedButton(
        onPressed: () async {
          // Check permissions before navigating to the SDKCall screen
          bool permissionsGranted = await requestPermissions(context);
          if (permissionsGranted) {
            Navigator.push(
              context,
              MaterialPageRoute(
                builder: (context) => const SDKCall(
                  companyName: ''  // Pass the company name here
                  workflowName: ''  // Pass the workflow name here
                ),
              ),
            );
          }
        },
        child: const Text('Call KYC SDK'),
      ),
    ),
  );
}
0
likes
120
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for handling Know Your Customer (KYC) processes in mobile applications.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, logger, permission_handler, webview_flutter

More

Packages that depend on flutter_meon_kyc