azakaw_kyc_flutter 0.0.10 copy "azakaw_kyc_flutter: ^0.0.10" to clipboard
azakaw_kyc_flutter: ^0.0.10 copied to clipboard

Flutter plugin for Azakaw KYC integration

Azakaw KYC Flutter #

A Flutter plugin for integrating Azakaw KYC verification into your mobile applications.

Features #

  • Easy integration with Azakaw KYC service
  • Customizable UI with fullscreen option
  • Sandbox and Production environment support
  • Built-in camera permission handling
  • Dialog-based interface with close confirmation

Getting Started #

Add the package to your pubspec.yaml:

dependencies:
  azakaw_kyc_flutter: ^0.0.1

Usage #

Basic Implementation #

import 'package:azakaw_kyc_flutter/azakaw_kyc_flutter.dart';

// Start the KYC process
AzakawKyc.start(
  context: context,
  config: AzakawKycConfig(
    sessionId: 'your-session-id',
    environment: Environment.sandbox,
    isFullscreen: false, // Optional, defaults to false
  ),
  onComplete: () {
    // Handle completion
    print('KYC process completed');
  },
  onCancel: () {
    // Handle cancellation
    print('KYC process cancelled');
  },
);

Configuration Options #

The AzakawKycConfig class accepts the following parameters:

  • sessionId: Your session ID obtained from Azakaw backend
  • environment: Either Environment.sandbox or Environment.production
  • isFullscreen: Boolean to control fullscreen mode (optional, defaults to false)

Required Permissions #

Add the following permissions to your Android and iOS projects:

Android

Add to android/app/src/main/AndroidManifest.xml:

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

iOS

Add to ios/Runner/Info.plist:

<key>NSCameraUsageDescription</key>
<string>Camera access is required for KYC verification</string>

Complete Example #

import 'package:flutter/material.dart';
import 'package:azakaw_kyc_flutter/azakaw_kyc_flutter.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Azakaw KYC Example'),
        ),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              AzakawKyc.start(
                context: context,
                config: AzakawKycConfig(
                  sessionId: 'your-session-id',
                  environment: Environment.sandbox,
                ),
                onComplete: () {
                  print('KYC Completed');
                },
                onCancel: () {
                  print('KYC Cancelled');
                },
              );
            },
            child: const Text('Start KYC'),
          ),
        ),
      ),
    );
  }
}

Additional Information #

For more information about Azakaw KYC services, visit Azakaw's website.

0
likes
105
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for Azakaw KYC integration

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, permission_handler, webview_flutter

More

Packages that depend on azakaw_kyc_flutter

Packages that implement azakaw_kyc_flutter