esign_plugin

Creator: coderz1093

Last updated:

Add to Cart

Description:

esign plugin

esign_plugin #
Digio Esign flutter plugin
Getting Started #
Example flutter esign application
Android #
How to Integrate?

Add it to your root build.gradle at the end of repositories:

allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
copied to clipboard

Add the dependency:

implementation 'com.github.digio-tech:gateway:v4.0.8'
implementation 'com.github.digio-tech:gateway_esign:v4.0.8'
copied to clipboard

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 'com.github.digio-tech:gateway:v4.0.8'
implementation 'com.github.digio-tech:gateway_esign:v4.0.8'
implementation 'com.github.digio-tech:protean-esign:v3.2'

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation "androidx.navigation:navigation-fragment-ktx:2.5.3"
implementation "androidx.navigation:navigation-ui-ktx:2.5.3"
// Added in version 4.0.6
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

Following dependency is also not required if org.jetbrains.kotlin.android plugin version is 1.8.*
implementation 'androidx.core:core-ktx:1.10.0'

implementation 'com.android.volley:volley:1.2.1'
implementation 'com.scottyab:rootbeer-lib:0.1.0'
}
}
copied to clipboard

Proguard :
It is required to test the release build for possible proguard exceptions before prod releases.

-dontwarn org.json.**
-keep class org.json** { *; }
copied to clipboard

Digio SDK supports android version 5.0 and above (SDK level 21 above)

Note: Kotlin plugin should be added at your project level inside build gradle
Also refer android guide for android folder setup :
Android Guide
IOS #

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
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);
_esignPlugin.setGatewayEventListener((GatewayEvent? gatewayEvent) {
print("gateway : " + gatewayEvent.toString());
});
esignResult = await _esignPlugin.start("DID221221113330206ZX9AF6RYMF6OLE", "naman.jain@digio.in", "GWT***", null);
print('esignResult : ' + esignResult.toString());
copied to clipboard
Add LSApplicationQueriesSchemes in your iOS app's Info.plist file
<key>LSApplicationQueriesSchemes</key>
<array>
<string>phonepe</string>
<string>gpay</string>
<string>paytmmp</string>
<string>bhim</string>
<string>upi</string>
<string>ppe</string>
</array>

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.