Skip to content

Commit

Permalink
Added new feature eSign,Nach for android
Browse files Browse the repository at this point in the history
  • Loading branch information
akashkdigio committed Jan 11, 2024
1 parent 23f8033 commit 9bdd06d
Show file tree
Hide file tree
Showing 8 changed files with 30,877 additions and 14,125 deletions.
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ android {
viewBinding true
dataBinding true
}
buildToolsVersion '33.0.0'
}

repositories {
Expand Down
Binary file added android/libs/digio_esign-4.0.8.aar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,12 @@ public void start(String documentId, String identifier, String tokenId, Readable

intent.putExtra("config", digioConfig);
intent.putExtra("aar_version", AAR_VERSION);
intent.putExtra("navigation_graph", R.navigation.workflow);
if (documentId.startsWith("ENA")){
intent.putExtra("navigation_graph", in.digio.sdk.esign.R.navigation.esign);
}else {
intent.putExtra("navigation_graph", in.digio.sdk.kyc.R.navigation.workflow);
}

intent.putExtra("document_id", documentId);
intent.putExtra("customer_identifier", identifier);
intent.putExtra("token_id", tokenId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public void onCreate() {
// If you opted-in for the New Architecture, we load the native entry point for this app.
DefaultNewArchitectureEntryPoint.load();
}
ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
// ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
}
2 changes: 2 additions & 0 deletions example/ios/.xcode.env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export NODE_BINARY=/private/var/folders/4z/zz4cnqv966394tvcr7ycy7fm0000gp/T/xfs-b22d4335/node

6 changes: 3 additions & 3 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export default function App() {
);
digio
.start(
'KID231030124448842XMIZVCXZS9EX67',
'ramanand@digio.in',
'GWT2310301244520089UKGFPMP7WQUV4'
'DID240111104030438QVCQB2LZFI9M4C',
'akash.kumar@digio.in',
'GWT240111104031237TRWYZV26R1QXEX'
)
.then((res) => {
console.log(res);
Expand Down
Loading

0 comments on commit 9bdd06d

Please sign in to comment.