idwise-nfc-react-native-sdk 5.4.4 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +2 -2
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +2 -2
- package/idwise-react-native-sdk.podspec +7 -6
- package/index.d.ts +125 -0
- package/ios/IDWiseNFC.xcframework/Info.plist +5 -5
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Assets.car +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/DocumentTypeTableViewCell.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/IDWiseNFC +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.abi.json +2601 -2260
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.private.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/document_detector.mlmodelc/metadata.json +64 -61
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/document_quality_model.mlmodelc/metadata.json +21 -18
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Assets.car +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/DocumentTypeTableViewCell.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/IDWiseNFC +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.abi.json +2601 -2260
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json +2601 -2260
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/_CodeSignature/CodeResources +35 -35
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/metadata.json +64 -61
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_quality_model.mlmodelc/metadata.json +21 -18
- package/ios/IdwiseMobileSdk.mm +0 -3
- package/ios/IdwiseMobileSdk.swift +2 -2
- package/package.json +8 -4
- package/src/IDWiseConstants.js +7 -0
- package/src/index.js +5 -3
- package/tsconfig.json +31 -0
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"specificationVersion" : 4,
|
|
26
26
|
"computePrecision" : "Float16",
|
|
27
27
|
"isUpdatable" : "0",
|
|
28
|
+
"stateSchema" : [
|
|
29
|
+
|
|
30
|
+
],
|
|
28
31
|
"availability" : {
|
|
29
32
|
"macOS" : "10.15",
|
|
30
33
|
"tvOS" : "13.0",
|
|
@@ -36,21 +39,6 @@
|
|
|
36
39
|
"modelType" : {
|
|
37
40
|
"name" : "MLModelType_neuralNetworkClassifier"
|
|
38
41
|
},
|
|
39
|
-
"userDefinedMetadata" : {
|
|
40
|
-
"com.github.apple.coremltools.version" : "6.2",
|
|
41
|
-
"com.github.apple.coremltools.source" : "torch==1.12.1"
|
|
42
|
-
},
|
|
43
|
-
"classLabels" : [
|
|
44
|
-
"good_quality_score",
|
|
45
|
-
"blur_quality_score",
|
|
46
|
-
"compression_quality_score",
|
|
47
|
-
"glare_quality_score",
|
|
48
|
-
"grainy_noise_quality_score",
|
|
49
|
-
"low_brightness_quality_score",
|
|
50
|
-
"over_exposure_quality_score",
|
|
51
|
-
"none_id_score"
|
|
52
|
-
],
|
|
53
|
-
"generatedClassName" : "document_quality_model",
|
|
54
42
|
"inputSchema" : [
|
|
55
43
|
{
|
|
56
44
|
"height" : "512",
|
|
@@ -65,14 +53,29 @@
|
|
|
65
53
|
"name" : "input_1"
|
|
66
54
|
}
|
|
67
55
|
],
|
|
56
|
+
"classLabels" : [
|
|
57
|
+
"good_quality_score",
|
|
58
|
+
"blur_quality_score",
|
|
59
|
+
"compression_quality_score",
|
|
60
|
+
"glare_quality_score",
|
|
61
|
+
"grainy_noise_quality_score",
|
|
62
|
+
"low_brightness_quality_score",
|
|
63
|
+
"over_exposure_quality_score",
|
|
64
|
+
"none_id_score"
|
|
65
|
+
],
|
|
66
|
+
"generatedClassName" : "document_quality_model",
|
|
67
|
+
"userDefinedMetadata" : {
|
|
68
|
+
"com.github.apple.coremltools.version" : "6.2",
|
|
69
|
+
"com.github.apple.coremltools.source" : "torch==1.12.1"
|
|
70
|
+
},
|
|
68
71
|
"neuralNetworkLayerTypeHistogram" : {
|
|
69
72
|
"ReshapeStatic" : 1,
|
|
70
|
-
"Add" : 10,
|
|
71
73
|
"PoolingAverage" : 1,
|
|
74
|
+
"Add" : 10,
|
|
72
75
|
"Clip" : 35,
|
|
73
76
|
"Convolution" : 52,
|
|
74
|
-
"
|
|
75
|
-
"
|
|
77
|
+
"InnerProduct" : 1,
|
|
78
|
+
"ActivationSigmoid" : 1
|
|
76
79
|
},
|
|
77
80
|
"method" : "predict"
|
|
78
81
|
}
|
package/ios/IdwiseMobileSdk.mm
CHANGED
|
@@ -28,9 +28,6 @@ RCT_EXTERN_METHOD(unloadSDK)
|
|
|
28
28
|
RCT_EXTERN_METHOD(finishDynamicJourney)
|
|
29
29
|
RCT_EXTERN_METHOD(skipStep:(NSString *)stepId)
|
|
30
30
|
RCT_EXTERN_METHOD(startStep:(NSString *)stepId)
|
|
31
|
-
RCT_EXTERN_METHOD(startStepFromFileUpload:(NSString *)stepId
|
|
32
|
-
:(NSData *)data
|
|
33
|
-
)
|
|
34
31
|
RCT_EXTERN_METHOD(supportedEvents)
|
|
35
32
|
|
|
36
33
|
+ (BOOL)requiresMainQueueSetup
|
|
@@ -130,14 +130,14 @@ class IdwiseMobileSdk: RCTEventEmitter {
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
/*@objc func startStepFromFileUpload(
|
|
134
134
|
_ stepId: String,
|
|
135
135
|
_ data: Data
|
|
136
136
|
) {
|
|
137
137
|
DispatchQueue.main.async {
|
|
138
138
|
IDWiseDynamic.startStepFromFileUpload(stepId: stepId, data: data)
|
|
139
139
|
}
|
|
140
|
-
}
|
|
140
|
+
}*/
|
|
141
141
|
|
|
142
142
|
@objc func getJourneySummary() {
|
|
143
143
|
IDWiseDynamic.getJourneySummary(
|
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "idwise-nfc-react-native-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.2",
|
|
4
4
|
"description": "IDWise React Native Bridge",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
|
-
"types": "
|
|
7
|
+
"types": "index.d.ts",
|
|
8
8
|
"react-native": "src/index",
|
|
9
9
|
"source": "src/index",
|
|
10
10
|
"files": [
|
|
11
11
|
"src",
|
|
12
12
|
"lib",
|
|
13
|
+
"index.d.ts",
|
|
14
|
+
"tsconfig.json",
|
|
13
15
|
"android",
|
|
14
16
|
"ios",
|
|
15
17
|
"cpp",
|
|
@@ -35,8 +37,10 @@
|
|
|
35
37
|
"test": "jest",
|
|
36
38
|
"typecheck": "tsc --noEmit",
|
|
37
39
|
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
|
|
38
|
-
"prepare": "
|
|
39
|
-
"
|
|
40
|
+
"prepare": "tsc",
|
|
41
|
+
"build": "tsc",
|
|
42
|
+
"release": "release-it",
|
|
43
|
+
"prepublishOnly": "npm run build"
|
|
40
44
|
},
|
|
41
45
|
"keywords": [
|
|
42
46
|
"react-native",
|
package/src/IDWiseConstants.js
CHANGED
package/src/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IDWiseTheme } from './IDWiseConstants';
|
|
3
|
-
import
|
|
1
|
+
import { IDWise } from './IDWise';
|
|
2
|
+
import { IDWiseTheme, ApplicantDetailsKeys } from './IDWiseConstants';
|
|
3
|
+
import { IDWiseDynamic } from './IDWiseDynamic';
|
|
4
|
+
|
|
5
|
+
export { IDWise, IDWiseTheme, IDWiseDynamic, ApplicantDetailsKeys };
|
|
4
6
|
|
|
5
7
|
export default { IDWise, IDWiseTheme, IDWiseDynamic };
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"rootDir": ".",
|
|
4
|
+
"paths": {
|
|
5
|
+
"idwise-mobile-sdk": ["./src/index"]
|
|
6
|
+
},
|
|
7
|
+
"allowUnreachableCode": false,
|
|
8
|
+
"allowUnusedLabels": false,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"forceConsistentCasingInFileNames": true,
|
|
11
|
+
"jsx": "react",
|
|
12
|
+
"lib": ["esnext"],
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"noFallthroughCasesInSwitch": true,
|
|
15
|
+
"noImplicitReturns": true,
|
|
16
|
+
"noImplicitUseStrict": false,
|
|
17
|
+
"noStrictGenericChecks": false,
|
|
18
|
+
"noUncheckedIndexedAccess": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"resolveJsonModule": true,
|
|
22
|
+
"skipLibCheck": true,
|
|
23
|
+
"verbatimModuleSyntax": true,
|
|
24
|
+
"allowJs": true,
|
|
25
|
+
"checkJs": true,
|
|
26
|
+
"strict": true,
|
|
27
|
+
"target": "ES6",
|
|
28
|
+
"module": "CommonJS"
|
|
29
|
+
},
|
|
30
|
+
"include": ["index.js", "index.d.ts"]
|
|
31
|
+
}
|