esign_plugin 0.0.6 copy "esign_plugin: ^0.0.6" to clipboard
esign_plugin: ^0.0.6 copied to clipboard

Digio Esign flutter plugin

esign_plugin #

Digio Esign flutter plugin

Getting Started #

Example flutter esign application

Android #

How to Integrate?

  1. Download Android Esign SDK and DIGIO Gateway (supports androidx)
  1. Add Digio Android Esign SDK and Gateway .aar file to android/apps/libs folder

  2. Check your app’s build.gradle file (android/apps/build.gradle) to confirm a declaration similar to the following (depending on the build configuration you’ve selected):


android {
    compileSdkVersion 32

    defaultConfig {
        minSdkVersion 21
    }

    buildFeatures {
        viewBinding true
        dataBinding true
    }
    
    dependencies {
        implementation 'androidx.appcompat:appcompat:1.5.1'
        implementation 'com.google.android.material:material:1.7.0'
        implementation "androidx.navigation:navigation-fragment-ktx:2.5.3"
        implementation "androidx.navigation:navigation-ui-ktx:2.5.3"
        implementation 'com.google.android.material:material:1.7.0'
    
        implementation 'com.google.firebase:firebase-common-ktx:20.2.0'
        implementation 'com.google.firebase:firebase-crashlytics-ktx:18.3.2'
        
        implementation fileTree(dir: "libs", include: ["*.aar"])
    }
}
  • Please note that {current version} will be reflected in the .aar file which is downloaded. For eg. digio-kyc_workflow-4.0.1 digio-gateway-4.0.1
  • Digio SDK supports android version 5.0 and above (SDK level 21 above)
  1. Module Build Gradle (android/build.gradle) has following
buildscript {
    
    dependencies {
       
        classpath 'com.google.gms:google-services:4.3.14'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
    }
}

Note: Kotlin plugin should be added at your project level inside build gradle

Also refer android guide for android folder setup : Android Guide

IOS #

How to Integrate?

  1. Download ios Esign SDK
  1. Add Digio ios Esign SDK to framework folder.

  2. Ensure that in the project settings framework is selected as Embed and Sign.

  3. Check all the permission required in info.plist

    <key>NSCameraUsageDescription</key>
    <string>$(PRODUCT_NAME) would like to access your camera.</string>
    <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
    <string>$(PRODUCT_NAME) would like to access your location.</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>$(PRODUCT_NAME) would like to access your location.</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>$(PRODUCT_NAME) would like to access your microphone to capture video.</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>$(PRODUCT_NAME) would like to access your photo.</string>
    
  • Please note that {current version} will be reflected in the .zip file which is downloaded. For eg. DigioEsignSDK_v_0.1.0
  • Digio SDK support for xcode 14.0 and above, Swift version 5.7

Note: Kotlin plugin should be added at your project level inside build gradle

Also refer ios guide for ios folder setup : ios Guide

Starting the digio esign #

var digioConfig = DigioConfig();
digioConfig.theme.primaryColor = "#32a83a";
digioConfig.logo = "https://your_logo_url";
digioConfig.environment = Environment.SANDBOX;

final _esignPlugin = EsignPlugin(digioConfig);
esignResult = await _esignPlugin.start("DID221221113330206ZX9AF6RYMF6OLE", "naman.jain@digio.in", "", null);
print('esignResult : ' + esignResult.toString());
0
likes
130
pub points
88%
popularity

Publisher

unverified uploader

Digio Esign flutter plugin

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on esign_plugin