@regulaforensics/face-sdk 7.1.313-rc → 7.1.317
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/RNFaceSDK.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/examples/capacitor/package.json +2 -2
- package/examples/cordova/package.json +2 -2
- package/examples/ionic/package.json +2 -2
- package/examples/react_native/package.json +2 -2
- package/ios/CVDFaceSDK.m +1 -1
- package/ios/RFSWMain.h +1 -1
- package/ios/RFSWMain.m +2 -2
- package/ios/RNFaceSDK.m +1 -1
- package/package.json +1 -1
- package/plugin.xml +2 -2
- /package/examples/capacitor/android/app/src/main/java/com/regula/documentreader/{MainActivity.java → api/androidtest/MainActivity.java} +0 -0
package/RNFaceSDK.podspec
CHANGED
|
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
|
|
|
5
5
|
|
|
6
6
|
Pod::Spec.new do |s|
|
|
7
7
|
s.name = 'RNFaceSDK'
|
|
8
|
-
s.version = '7.1.
|
|
8
|
+
s.version = '7.1.317'
|
|
9
9
|
s.summary = package['description']
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
|
|
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.ios.deployment_target = '13.0'
|
|
17
17
|
s.source_files = 'ios/**/*.{h,m}'
|
|
18
18
|
s.exclude_files = [ 'ios/CVDFaceSDK.h', 'ios/CVDFaceSDK.m' ]
|
|
19
|
-
s.dependency '
|
|
19
|
+
s.dependency 'FaceSDK', '7.1.2736'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -32,7 +32,7 @@ android {
|
|
|
32
32
|
rootProject.allprojects {
|
|
33
33
|
repositories {
|
|
34
34
|
maven {
|
|
35
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader
|
|
35
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -41,7 +41,7 @@ dependencies {
|
|
|
41
41
|
//noinspection GradleDynamicVersion
|
|
42
42
|
implementation 'com.facebook.react:react-native:+'
|
|
43
43
|
//noinspection GradleDependency
|
|
44
|
-
implementation('com.regula.face:api:7.1.
|
|
44
|
+
implementation('com.regula.face:api:7.1.3784'){
|
|
45
45
|
transitive = true
|
|
46
46
|
}
|
|
47
47
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -6,13 +6,13 @@ android {
|
|
|
6
6
|
|
|
7
7
|
repositories {
|
|
8
8
|
maven {
|
|
9
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader
|
|
9
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
dependencies {
|
|
14
14
|
//noinspection GradleDependency
|
|
15
|
-
implementation('com.regula.face:api:7.1.
|
|
15
|
+
implementation('com.regula.face:api:7.1.3784'){
|
|
16
16
|
transitive = true
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/face-sdk": "7.1.
|
|
10
|
-
"@regulaforensics/face-core-basic": "7.1.
|
|
9
|
+
"@regulaforensics/face-sdk": "7.1.317",
|
|
10
|
+
"@regulaforensics/face-core-basic": "7.1.178",
|
|
11
11
|
"@awesome-cordova-plugins/file": "6.6.0",
|
|
12
12
|
"@awesome-cordova-plugins/camera": "6.6.0",
|
|
13
13
|
"cordova-plugin-file": "8.1.3",
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/face-sdk": "7.1.
|
|
10
|
-
"@regulaforensics/face-core-basic": "7.1.
|
|
9
|
+
"@regulaforensics/face-sdk": "7.1.317",
|
|
10
|
+
"@regulaforensics/face-core-basic": "7.1.178",
|
|
11
11
|
"cordova-ios": "7.1.1",
|
|
12
12
|
"cordova-android": "13.0.0",
|
|
13
13
|
"cordova-plugin-file": "8.1.3",
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/face-sdk": "7.1.
|
|
10
|
-
"@regulaforensics/face-core-basic": "7.1.
|
|
9
|
+
"@regulaforensics/face-sdk": "7.1.317",
|
|
10
|
+
"@regulaforensics/face-core-basic": "7.1.178",
|
|
11
11
|
"@awesome-cordova-plugins/file": "6.16.0",
|
|
12
12
|
"@awesome-cordova-plugins/camera": "6.16.0",
|
|
13
13
|
"@awesome-cordova-plugins/dialogs": "6.16.0",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/face-sdk": "7.1.
|
|
12
|
-
"@regulaforensics/face-core-basic": "7.1.
|
|
11
|
+
"@regulaforensics/face-sdk": "7.1.317",
|
|
12
|
+
"@regulaforensics/face-core-basic": "7.1.178",
|
|
13
13
|
"react-native": "0.79.2",
|
|
14
14
|
"react-native-fs": "2.20.0",
|
|
15
15
|
"react-native-image-picker": "8.2.1",
|
package/ios/CVDFaceSDK.m
CHANGED
|
@@ -8,7 +8,7 @@ static NSMutableDictionary<NSString*, NSString*>* _eventCallbackIds = nil;
|
|
|
8
8
|
return _eventCallbackIds;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
UIViewController*(^
|
|
11
|
+
UIViewController*(^RFSWRootViewController)(void) = ^UIViewController*(){
|
|
12
12
|
for (UIWindow *window in UIApplication.sharedApplication.windows)
|
|
13
13
|
if (window.isKeyWindow)
|
|
14
14
|
return window.rootViewController;
|
package/ios/RFSWMain.h
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
typedef void (^RFSWCallback)(id _Nullable response);
|
|
5
5
|
typedef void (^RFSWEventSender)(NSString* _Nonnull event, id _Nullable data);
|
|
6
|
-
extern UIViewController*_Nonnull(^ _Nonnull
|
|
6
|
+
extern UIViewController*_Nonnull(^ _Nonnull RFSWRootViewController)(void);
|
|
7
7
|
|
|
8
8
|
@interface RFSWMain: NSObject<RFSURLRequestInterceptingDelegate,
|
|
9
9
|
RFSVideoUploadingDelegate,
|
package/ios/RFSWMain.m
CHANGED
|
@@ -102,7 +102,7 @@ static NSDictionary* headers;
|
|
|
102
102
|
|
|
103
103
|
+(void)startFaceCapture:(NSDictionary*)config :(RFSWCallback)callback {
|
|
104
104
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
105
|
-
[RFSFaceSDK.service presentFaceCaptureViewControllerFrom:
|
|
105
|
+
[RFSFaceSDK.service presentFaceCaptureViewControllerFrom:RFSWRootViewController()
|
|
106
106
|
animated:true
|
|
107
107
|
configuration:[RFSWConfig faceCaptureConfigFromJSON:config]
|
|
108
108
|
onCapture:[self faceCaptureCompletion:callback]
|
|
@@ -116,7 +116,7 @@ static NSDictionary* headers;
|
|
|
116
116
|
|
|
117
117
|
+(void)startLiveness:(NSDictionary*)config :(RFSWCallback)callback {
|
|
118
118
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
119
|
-
[RFSFaceSDK.service startLivenessFrom:
|
|
119
|
+
[RFSFaceSDK.service startLivenessFrom:RFSWRootViewController()
|
|
120
120
|
animated:true
|
|
121
121
|
configuration:[RFSWConfig livenessConfigFromJSON:config]
|
|
122
122
|
onLiveness:[self livenessCompletion:callback]
|
package/ios/RNFaceSDK.m
CHANGED
|
@@ -20,7 +20,7 @@ static bool hasListeners;
|
|
|
20
20
|
- (void)startObserving { hasListeners = YES; }
|
|
21
21
|
- (void)stopObserving { hasListeners = NO; }
|
|
22
22
|
|
|
23
|
-
UIViewController*(^
|
|
23
|
+
UIViewController*(^RFSWRootViewController)(void) = ^UIViewController*(){
|
|
24
24
|
return RCTPresentedViewController();
|
|
25
25
|
};
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/face-sdk",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.317",
|
|
4
4
|
"description": "This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.",
|
|
5
5
|
"main": "www/react-native/index.js",
|
|
6
6
|
"module": "www/capacitor/index.js",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/face-sdk" version="7.1.
|
|
2
|
+
<plugin id="@regulaforensics/face-sdk" version="7.1.317" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>FaceSDK</name>
|
|
4
4
|
<description>Cordova plugin for Regula Face SDK</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
30
30
|
</config>
|
|
31
31
|
<pods>
|
|
32
|
-
<pod name="
|
|
32
|
+
<pod name="FaceSDK" spec="7.1.2736" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|