assentify-sdk-react-native 1.0.0-Beta.16 → 1.0.0-Beta.18
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/README.md +7 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/assentifysdk/AssentifySdkModule.kt +4 -1
- package/assentify-sdk.podspec +1 -1
- package/ios/NativeAssentifySdk.mm +1 -0
- package/ios/NativeAssentifySdk.swift +4 -1
- package/lib/commonjs/AssentifyWrapper.js +2 -2
- package/lib/commonjs/AssentifyWrapper.js.map +1 -1
- package/lib/module/AssentifyWrapper.js +2 -2
- package/lib/module/AssentifyWrapper.js.map +1 -1
- package/lib/typescript/example/src/Home.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/lib/module/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/lib/module/index.d.ts +1 -1
- package/lib/typescript/src/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/AssentifyWrapper.ts +2 -0
package/README.md
CHANGED
|
@@ -93,6 +93,13 @@ yarn add assentify-sdk-react-native
|
|
|
93
93
|
|
|
94
94
|
## Versions
|
|
95
95
|
|
|
96
|
+
***1.0.0-Beta.18***
|
|
97
|
+
1. *Enhanced Flow Design*
|
|
98
|
+
2. "Assisted Data Entry Step" Improvements
|
|
99
|
+
|
|
100
|
+
***1.0.0-Beta.17***
|
|
101
|
+
1. *Support for initializing the SDK using a file path*
|
|
102
|
+
|
|
96
103
|
***1.0.0-Beta.16***
|
|
97
104
|
1. *"Assisted Data Entry Step" Improvements*
|
|
98
105
|
|
package/android/build.gradle
CHANGED
|
@@ -101,7 +101,7 @@ dependencies {
|
|
|
101
101
|
compileOnly("com.facebook.react:react-android")
|
|
102
102
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
103
103
|
|
|
104
|
-
implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.
|
|
104
|
+
implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.29'
|
|
105
105
|
|
|
106
106
|
implementation 'com.google.code.gson:gson:2.13.2'
|
|
107
107
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.9.7'
|
|
@@ -58,6 +58,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
58
58
|
fun initialize(
|
|
59
59
|
apiKey: String,
|
|
60
60
|
configFileName: String,
|
|
61
|
+
processJsonConfigFile: String = "",
|
|
61
62
|
performLivenessFace: Boolean? = null,
|
|
62
63
|
ENV_CustomColor: String? = null,
|
|
63
64
|
enableDetect: Boolean = true,
|
|
@@ -96,6 +97,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
96
97
|
println("$tag Assentify SDK Initialized")
|
|
97
98
|
println("$tag apiKey: $apiKey")
|
|
98
99
|
println("$tag configFileName: $configFileName")
|
|
100
|
+
println("$tag processJsonConfigFile: $processJsonConfigFile")
|
|
99
101
|
println("$tag performLivenessFace: $performLivenessFace")
|
|
100
102
|
println("$tag ENV_CustomColor: $ENV_CustomColor")
|
|
101
103
|
println("$tag enableDetect: $enableDetect")
|
|
@@ -158,7 +160,8 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
158
160
|
environmentalConditions,
|
|
159
161
|
this,
|
|
160
162
|
performActiveLivenessFace = performLivenessFace,
|
|
161
|
-
context = reactApplicationContext
|
|
163
|
+
context = reactApplicationContext,
|
|
164
|
+
processJsonConfigFile = processJsonConfigFile
|
|
162
165
|
)
|
|
163
166
|
} catch (e: Exception) {
|
|
164
167
|
Log.e(NAME, e.toString())
|
package/assentify-sdk.podspec
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
RCT_EXTERN_METHOD(initialize: (NSString *)apiKey
|
|
7
7
|
configFileName:(NSString *)configFileName
|
|
8
|
+
processJsonConfigFile:(NSString *)processJsonConfigFile
|
|
8
9
|
performLivenessFace:(BOOL *)performLivenessFace
|
|
9
10
|
ENV_CustomColor:(NSString *)ENV_CustomColor
|
|
10
11
|
enableDetect:(BOOL *)enableDetect
|
|
@@ -28,6 +28,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
|
|
|
28
28
|
func initialize(_
|
|
29
29
|
apiKey: String,
|
|
30
30
|
configFileName: String,
|
|
31
|
+
processJsonConfigFile: String = "",
|
|
31
32
|
performLivenessFace: Bool = false,
|
|
32
33
|
ENV_CustomColor: String = "#f5a103",
|
|
33
34
|
enableDetect: Bool = true,
|
|
@@ -62,6 +63,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
|
|
|
62
63
|
print("\(tag) Assentify SDK Initialized")
|
|
63
64
|
print("\(tag) apiKey: \(apiKey)")
|
|
64
65
|
print("\(tag) configFileName: \(configFileName)")
|
|
66
|
+
print("\(tag) processJsonConfigFile: \(processJsonConfigFile)")
|
|
65
67
|
print("\(tag) performLivenessFace: \(performLivenessFace)")
|
|
66
68
|
print("\(tag) ENV_CustomColor: \(ENV_CustomColor)")
|
|
67
69
|
print("\(tag) enableDetect: \(enableDetect)")
|
|
@@ -136,7 +138,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
|
|
|
136
138
|
configFileName: configFileName,
|
|
137
139
|
environmentalConditions: environmentalConditions,
|
|
138
140
|
assentifySdkDelegate: self,
|
|
139
|
-
performActiveLivenessFace: performLivenessFace
|
|
141
|
+
performActiveLivenessFace: performLivenessFace,
|
|
142
|
+
processJsonConfigFile: processJsonConfigFile
|
|
140
143
|
)
|
|
141
144
|
|
|
142
145
|
|
|
@@ -19,8 +19,8 @@ const AssentifySdk = _reactNative.NativeModules.NativeAssentifySdk ? _reactNativ
|
|
|
19
19
|
});
|
|
20
20
|
const AssentifyWrapper = {
|
|
21
21
|
/// Initialize
|
|
22
|
-
initialize: function (apiKey, configFileName, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
|
|
23
|
-
AssentifySdk.initialize(apiKey, configFileName, performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
|
|
22
|
+
initialize: function (apiKey, configFileName, processJsonConfigFile, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
|
|
23
|
+
AssentifySdk.initialize(apiKey, configFileName, processJsonConfigFile ?? '', performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
|
|
24
24
|
},
|
|
25
25
|
/// Passport
|
|
26
26
|
startScanPassport: function (language, stepID) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,MAAMC,aAAa,GACjB,kGAAkG,GAClGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGC,0BAAa;AAE5C,MAAMC,YAAY,GAAGD,0BAAa,CAACD,kBAAkB,GACjDC,0BAAa,CAACD,kBAAkB,GAChC,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMW,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,mBAA6B,EAC7BC,eAAwB,EACxBC,YAAsB,EACtBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,EAC5BC,kBAA2B,EAC3BC,8BAAuC,EACvCC,6BAAsC,EACtCC,0BAAmC,EACnCC,yBAAkC,EAClCC,cAAuB,EACvBC,wBAAiC,EACjCC,sBAA+B,EAC/BC,MAAe,EACfC,SAAkB,EAClBC,WAAqB,EACrBC,gBAAyB,EACzBC,qBAA8B,EAC9B;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,MAAMC,aAAa,GACjB,kGAAkG,GAClGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGC,0BAAa;AAE5C,MAAMC,YAAY,GAAGD,0BAAa,CAACD,kBAAkB,GACjDC,0BAAa,CAACD,kBAAkB,GAChC,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMW,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,qBAA8B,EAC9BC,mBAA6B,EAC7BC,eAAwB,EACxBC,YAAsB,EACtBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,EAC5BC,kBAA2B,EAC3BC,8BAAuC,EACvCC,6BAAsC,EACtCC,0BAAmC,EACnCC,yBAAkC,EAClCC,cAAuB,EACvBC,wBAAiC,EACjCC,sBAA+B,EAC/BC,MAAe,EACfC,SAAkB,EAClBC,WAAqB,EACrBC,gBAAyB,EACzBC,qBAA8B,EAC9B;IACE3B,YAAY,CAACK,UAAU,CACbC,MAAM,EACNC,cAAc,EACdC,qBAAqB,IAAG,EAAE,EAC1BC,mBA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AI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC1B,aAAa,IAAI,IACnB,CAAC;EACL;AAEF,CAAC;AAAC,IAAA2B,QAAA,GAAAC,OAAA,CAAAxE,OAAA,GAEaO,gBAAgB","ignoreList":[]}
|
|
@@ -13,8 +13,8 @@ const AssentifySdk = NativeModules.NativeAssentifySdk ? NativeModules.NativeAsse
|
|
|
13
13
|
});
|
|
14
14
|
const AssentifyWrapper = {
|
|
15
15
|
/// Initialize
|
|
16
|
-
initialize: function (apiKey, configFileName, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
|
|
17
|
-
AssentifySdk.initialize(apiKey, configFileName, performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
|
|
16
|
+
initialize: function (apiKey, configFileName, processJsonConfigFile, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
|
|
17
|
+
AssentifySdk.initialize(apiKey, configFileName, processJsonConfigFile ?? '', performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
|
|
18
18
|
},
|
|
19
19
|
/// Passport
|
|
20
20
|
startScanPassport: function (language, stepID) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAMtE,MAAMC,aAAa,GACjB,kGAAkG,GAClGD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGN,aAAa;AAE5C,MAAMO,YAAY,GAAGP,aAAa,CAACM,kBAAkB,GACjDN,aAAa,CAACM,kBAAkB,GAChC,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACR,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMS,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,mBAA6B,EAC7BC,eAAwB,EACxBC,YAAsB,EACtBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,EAC5BC,kBAA2B,EAC3BC,8BAAuC,EACvCC,6BAAsC,EACtCC,0BAAmC,EACnCC,yBAAkC,EAClCC,cAAuB,EACvBC,wBAAiC,EACjCC,sBAA+B,EAC/BC,MAAe,EACfC,SAAkB,EAClBC,WAAqB,EACrBC,gBAAyB,EACzBC,qBAA8B,EAC9B;
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAMtE,MAAMC,aAAa,GACjB,kGAAkG,GAClGD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGN,aAAa;AAE5C,MAAMO,YAAY,GAAGP,aAAa,CAACM,kBAAkB,GACjDN,aAAa,CAACM,kBAAkB,GAChC,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACR,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMS,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,qBAA8B,EAC9BC,mBAA6B,EAC7BC,eAAwB,EACxBC,YAAsB,EACtBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,EAC5BC,kBAA2B,EAC3BC,8BAAuC,EACvCC,6BAAsC,EACtCC,0BAAmC,EACnCC,yBAAkC,EAClCC,cAAuB,EACvBC,wBAAiC,EACjCC,sBAA+B,EAC/BC,MAAe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QAAQ,IAAI,KAAK,EACjBzB,IAAI,CAACC,SAAS,CAACyB,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC1B,aAAa,IAAI,IACnB,CAAC;EACL;AAEF,CAAC;AAED,eAAerC,gBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AA6CnD,QAAA,MAAM,IAAI,yBAobT,CAAC;AAcF,eAAe,IAAI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const __esModule: boolean;
|
|
2
2
|
export default AssentifyWrapper;
|
|
3
3
|
declare namespace AssentifyWrapper {
|
|
4
|
-
function initialize(apiKey: any, configFileName: any, performLivenessFace: any, ENV_CustomColor: any, enableDetect: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any, activeLivenessCheckCount: any, faceLivenessRetryCount: any, minRam: any, iOSMinRam: any, minCPUCores: any, manualClickColor: any, countDownNumbersColor: any): void;
|
|
4
|
+
function initialize(apiKey: any, configFileName: any, processJsonConfigFile: any, performLivenessFace: any, ENV_CustomColor: any, enableDetect: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any, activeLivenessCheckCount: any, faceLivenessRetryCount: any, minRam: any, iOSMinRam: any, minCPUCores: any, manualClickColor: any, countDownNumbersColor: any): void;
|
|
5
5
|
function startScanPassport(language: any, stepID: any): void;
|
|
6
6
|
function startScanOther(language: any, stepID: any): void;
|
|
7
7
|
function startScanIDCard(templatesByCountryObject: any, language: any, flippingCard: any, stepID: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,ykBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2gBAEV"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default AssentifyWrapper;
|
|
2
2
|
declare namespace AssentifyWrapper {
|
|
3
|
-
function initialize(apiKey: any, configFileName: any, performLivenessFace: any, ENV_CustomColor: any, enableDetect: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any, activeLivenessCheckCount: any, faceLivenessRetryCount: any, minRam: any, iOSMinRam: any, minCPUCores: any, manualClickColor: any, countDownNumbersColor: any): void;
|
|
3
|
+
function initialize(apiKey: any, configFileName: any, processJsonConfigFile: any, performLivenessFace: any, ENV_CustomColor: any, enableDetect: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any, activeLivenessCheckCount: any, faceLivenessRetryCount: any, minRam: any, iOSMinRam: any, minCPUCores: any, manualClickColor: any, countDownNumbersColor: any): void;
|
|
4
4
|
function startScanPassport(language: any, stepID: any): void;
|
|
5
5
|
function startScanOther(language: any, stepID: any): void;
|
|
6
6
|
function startScanIDCard(templatesByCountryObject: any, language: any, flippingCard: any, stepID: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,ykBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2gBAEV"}
|
|
@@ -5,7 +5,7 @@ export * from "./BackgroundType";
|
|
|
5
5
|
export * from "./FlowStepperType";
|
|
6
6
|
export * from "./AssentifyProvider";
|
|
7
7
|
export const Assentify: {
|
|
8
|
-
initialize: (apiKey: any, configFileName: any, performLivenessFace: any, ENV_CustomColor: any, enableDetect: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any, activeLivenessCheckCount: any, faceLivenessRetryCount: any, minRam: any, iOSMinRam: any, minCPUCores: any, manualClickColor: any, countDownNumbersColor: any) => void;
|
|
8
|
+
initialize: (apiKey: any, configFileName: any, processJsonConfigFile: any, performLivenessFace: any, ENV_CustomColor: any, enableDetect: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any, activeLivenessCheckCount: any, faceLivenessRetryCount: any, minRam: any, iOSMinRam: any, minCPUCores: any, manualClickColor: any, countDownNumbersColor: any) => void;
|
|
9
9
|
startScanPassport: (language: any, stepID: any) => void;
|
|
10
10
|
startScanOther: (language: any, stepID: any) => void;
|
|
11
11
|
startScanIDCard: (templatesByCountryObject: any, language: any, flippingCard: any, stepID: any) => void;
|
|
@@ -3,7 +3,7 @@ import { type TemplatesByCountry } from './types';
|
|
|
3
3
|
import { type BackgroundTypeCode } from './BackgroundType';
|
|
4
4
|
import { type FlowStepperTypeCode } from './FlowStepperType';
|
|
5
5
|
declare const AssentifyWrapper: {
|
|
6
|
-
initialize: (apiKey: string, configFileName: string, performLivenessFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String, activeLivenessCheckCount?: number, faceLivenessRetryCount?: number, minRam?: number, iOSMinRam?: number, minCPUCores?: number, manualClickColor?: string, countDownNumbersColor?: string) => void;
|
|
6
|
+
initialize: (apiKey: string, configFileName: string, processJsonConfigFile?: string, performLivenessFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String, activeLivenessCheckCount?: number, faceLivenessRetryCount?: number, minRam?: number, iOSMinRam?: number, minCPUCores?: number, manualClickColor?: string, countDownNumbersColor?: string) => void;
|
|
7
7
|
startScanPassport: (language: LanguageCode, stepID: number) => void;
|
|
8
8
|
startScanOther: (language: LanguageCode, stepID: number) => void;
|
|
9
9
|
startScanIDCard: (templatesByCountryObject: TemplatesByCountry, language: LanguageCode, flippingCard: boolean, stepID: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../src/AssentifyWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAqB7D,QAAA,MAAM,gBAAgB;yBAGV,MAAM,kBACE,MAAM,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../src/AssentifyWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAqB7D,QAAA,MAAM,gBAAgB;yBAGV,MAAM,kBACE,MAAM,0BACE,MAAM,wBACR,OAAO,oBACX,MAAM,iBACT,OAAO,2BACG,MAAM,+BACF,MAAM,wBACb,MAAM,uBACP,MAAM,mCACM,MAAM,kCACP,MAAM,+BACT,MAAM,8BACP,MAAM,mBACjB,MAAM,6BACI,MAAM,2BACR,MAAM,WACtB,MAAM,cACH,MAAM,gBACH,MAAM,qBACF,MAAM,0BACD,MAAM;kCA6BQ,YAAY,UAAS,MAAM;+BAK7B,YAAY,UAAS,MAAM;gDAKV,kBAAkB,YAAW,YAAY,gBAAe,OAAO,UAAS,MAAM;+BAK9F,MAAM,iBAAgB,OAAO,UAAS,MAAM;4CAOhC,kBAAkB,YAAW,YAAY,UAAS,MAAM;0BAM1E,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;0BAQ3C,MAAM,0BACQ,MAAM,cAClB,MAAM,uBACG,MAAM,wBACL,MAAM,gBACd,MAAM,qBACD,MAAM,EAAE,gBACb,MAAM,EAAE,iCACS,MAAM,8BACT,MAAM,4BACR,MAAM,yBACT,MAAM,mBACZ,kBAAkB,UAC3B,OAAO,aACJ,YAAY,cACX,OAAO,aACR,OAAO,gCACW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,oBAClC,mBAAmB,eACvB,MAAM,aACR,MAAM,iBACF,MAAM,kBACL,OAAO;CA6B1B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -4,7 +4,7 @@ export * from './ActiveLiveType';
|
|
|
4
4
|
export * from './BackgroundType';
|
|
5
5
|
export * from './FlowStepperType';
|
|
6
6
|
export declare const Assentify: {
|
|
7
|
-
initialize: (apiKey: string, configFileName: string, performLivenessFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String, activeLivenessCheckCount?: number, faceLivenessRetryCount?: number, minRam?: number, iOSMinRam?: number, minCPUCores?: number, manualClickColor?: string, countDownNumbersColor?: string) => void;
|
|
7
|
+
initialize: (apiKey: string, configFileName: string, processJsonConfigFile?: string, performLivenessFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String, activeLivenessCheckCount?: number, faceLivenessRetryCount?: number, minRam?: number, iOSMinRam?: number, minCPUCores?: number, manualClickColor?: string, countDownNumbersColor?: string) => void;
|
|
8
8
|
startScanPassport: (language: import("./Language").LanguageCode, stepID: number) => void;
|
|
9
9
|
startScanOther: (language: import("./Language").LanguageCode, stepID: number) => void;
|
|
10
10
|
startScanIDCard: (templatesByCountryObject: import("./types").TemplatesByCountry, language: import("./Language").LanguageCode, flippingCard: boolean, stepID: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assentify-sdk-react-native",
|
|
3
|
-
"version": "1.0.0-Beta.
|
|
3
|
+
"version": "1.0.0-Beta.18",
|
|
4
4
|
"description": "This package provides integration with Assentify's services, allowing developers to incorporate Assentify functionalities seamlessly into their applications.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
package/src/AssentifyWrapper.ts
CHANGED
|
@@ -28,6 +28,7 @@ const AssentifyWrapper = {
|
|
|
28
28
|
initialize: function (
|
|
29
29
|
apiKey: string,
|
|
30
30
|
configFileName: string,
|
|
31
|
+
processJsonConfigFile?: string,
|
|
31
32
|
performLivenessFace?: boolean,
|
|
32
33
|
ENV_CustomColor?: string,
|
|
33
34
|
enableDetect?: boolean,
|
|
@@ -51,6 +52,7 @@ const AssentifyWrapper = {
|
|
|
51
52
|
AssentifySdk.initialize(
|
|
52
53
|
apiKey,
|
|
53
54
|
configFileName,
|
|
55
|
+
processJsonConfigFile?? '',
|
|
54
56
|
performLivenessFace ?? false,
|
|
55
57
|
ENV_CustomColor ?? '#f5a103',
|
|
56
58
|
enableDetect ?? true,
|