@regulaforensics/face-core-basic 6.3.12-beta
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 +12 -0
- package/RNFaceCore.podspec +20 -0
- package/android/build.gradle +33 -0
- package/android/cordova.gradle +10 -0
- package/android/src/main/java/com/regula/plugin/facecore/RNFaceCorePackage.kt +11 -0
- package/package.json +33 -0
- package/plugin.xml +18 -0
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Regula Face SDK Core plugin
|
|
2
|
+
Face SDK is a framework that is used for face matching, recognition and liveness detection.
|
|
3
|
+
This is an additional plugin that enables core functionality for `@regulaforensics/face-sdk`.
|
|
4
|
+
|
|
5
|
+
## Demo applications
|
|
6
|
+
You can find demo applications [here](https://github.com/regulaforensics/npm-face-sdk/tree/main/examples)
|
|
7
|
+
|
|
8
|
+
## Documentation
|
|
9
|
+
You can find documentation on API [here](https://docs.regulaforensics.com/develop/face-sdk/mobile).
|
|
10
|
+
|
|
11
|
+
## Additional information
|
|
12
|
+
If you have any technical questions, feel free to [contact](mailto:support@regulaforensics.com) us or create issues [here](https://github.com/regulaforensics/npm-face-sdk/issues).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
4
|
+
source = File.join(__dir__, 'ios')
|
|
5
|
+
|
|
6
|
+
Pod::Spec.new do |s|
|
|
7
|
+
s.name = 'RNFaceCore'
|
|
8
|
+
s.version = package['version']
|
|
9
|
+
s.summary = package['description']
|
|
10
|
+
s.license = package['license']
|
|
11
|
+
|
|
12
|
+
s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
|
|
13
|
+
s.homepage = 'https://regulaforensics.com'
|
|
14
|
+
|
|
15
|
+
s.source = { http: "file:#{source}" }
|
|
16
|
+
s.ios.deployment_target = '11.0'
|
|
17
|
+
s.exclude_files = [ 'ios/CVDFaceCore.h', 'ios/CVDFaceCore.m' ]
|
|
18
|
+
s.dependency 'FaceCoreBasic', '6.3.982'
|
|
19
|
+
s.dependency 'React'
|
|
20
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
apply plugin: 'com.android.library'
|
|
2
|
+
apply plugin: 'kotlin-android'
|
|
3
|
+
|
|
4
|
+
android {
|
|
5
|
+
// Conditional for compatibility with AGP <4.2.
|
|
6
|
+
if (project.android.hasProperty("namespace")) {
|
|
7
|
+
namespace 'com.regula.plugin.facecore'
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
compileSdk 34
|
|
11
|
+
|
|
12
|
+
defaultConfig {
|
|
13
|
+
minSdkVersion 21
|
|
14
|
+
targetSdk 34
|
|
15
|
+
versionCode 1
|
|
16
|
+
versionName "1.0"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
rootProject.allprojects {
|
|
21
|
+
repositories {
|
|
22
|
+
maven {
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
dependencies {
|
|
29
|
+
//noinspection GradleDynamicVersion
|
|
30
|
+
implementation 'com.facebook.react:react-native:+'
|
|
31
|
+
//noinspection GradleDependency
|
|
32
|
+
implementation('com.regula.face.core:basic:6.3.783@aar')
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
package com.regula.plugin.facecore
|
|
2
|
+
|
|
3
|
+
import com.facebook.react.ReactPackage
|
|
4
|
+
import com.facebook.react.bridge.NativeModule
|
|
5
|
+
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
|
+
import com.facebook.react.uimanager.ViewManager
|
|
7
|
+
|
|
8
|
+
class RNFaceCorePackage : ReactPackage {
|
|
9
|
+
override fun createNativeModules(rc: ReactApplicationContext) = listOf<NativeModule>()
|
|
10
|
+
override fun createViewManagers(rc: ReactApplicationContext) = emptyList<ViewManager<*, *>>()
|
|
11
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@regulaforensics/face-core-basic",
|
|
3
|
+
"version": "6.3.12-beta",
|
|
4
|
+
"description": "This is an npm module for Regula Face SDK Core. It enables core functionality for @regulaforensics/face-sdk.",
|
|
5
|
+
"cordova": {
|
|
6
|
+
"id": "@regulaforensics/face-core-basic",
|
|
7
|
+
"platforms": [
|
|
8
|
+
"ios",
|
|
9
|
+
"android"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"react",
|
|
14
|
+
"react-native",
|
|
15
|
+
"ionic",
|
|
16
|
+
"capacitor",
|
|
17
|
+
"cordova",
|
|
18
|
+
"face",
|
|
19
|
+
"reader",
|
|
20
|
+
"scanner",
|
|
21
|
+
"regula"
|
|
22
|
+
],
|
|
23
|
+
"author": "RegulaForensics",
|
|
24
|
+
"license": "commercial",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/regulaforensics/npm-face-sdk.git"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://mobile.regulaforensics.com",
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
}
|
|
33
|
+
}
|
package/plugin.xml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
+
<plugin id="@regulaforensics/face-core-basic" version="6.3.12-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
|
+
<name>FaceCore</name>
|
|
4
|
+
|
|
5
|
+
<platform name="ios">
|
|
6
|
+
<podspec>
|
|
7
|
+
<config>
|
|
8
|
+
</config>
|
|
9
|
+
<pods>
|
|
10
|
+
<pod name="FaceCoreBasic" spec="6.3.982" />
|
|
11
|
+
</pods>
|
|
12
|
+
</podspec>
|
|
13
|
+
</platform>
|
|
14
|
+
|
|
15
|
+
<platform name="android">
|
|
16
|
+
<framework src="android/cordova.gradle" custom="true" type="gradleReference" />
|
|
17
|
+
</platform>
|
|
18
|
+
</plugin>
|