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

outdated

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 #

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", "[email protected]", "", null);
print('esignResult : ' + esignResult.toString());
1
likes
0
points
179
downloads

Publisher

unverified uploader

Weekly Downloads

Digio Esign flutter plugin

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on esign_plugin

Packages that implement esign_plugin