@regulaforensics/face-core-match 8.4.852-rc → 8.4.856-rc

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/Package.swift ADDED
@@ -0,0 +1,26 @@
1
+ // swift-tools-version: 5.9
2
+
3
+ import PackageDescription
4
+
5
+ let package = Package(
6
+ name: "@regulaforensics/face-core-match",
7
+ platforms: [.iOS(.v15)],
8
+ products: [.library(name: "@regulaforensics/face-core-match", targets: ["@regulaforensics/face-core-match"])],
9
+ dependencies: [
10
+ .package(url: "https://github.com/apache/cordova-ios.git", branch: "master"),
11
+ .package(
12
+ url: "https://github.com/regulaforensics/FaceCoreMatch-Swift-Package",
13
+ exact: "8.4.2711-rc"
14
+ )
15
+ ],
16
+ targets: [
17
+ .target(
18
+ name: "@regulaforensics/face-core-match",
19
+ dependencies: [
20
+ .product(name: "Cordova", package: "cordova-ios"),
21
+ .product(name: "FaceCoreMatch", package: "FaceCoreMatch-Swift-Package")
22
+ ],
23
+ path: "ios"
24
+ )
25
+ ]
26
+ )
@@ -0,0 +1,35 @@
1
+ import com.android.build.api.dsl.LibraryExtension
2
+
3
+ plugins {
4
+ id("com.android.library")
5
+ }
6
+
7
+ // AGP 9+ may already provide built-in Kotlin.
8
+ if (extensions.findByName("kotlin") == null) {
9
+ apply(plugin = "kotlin-android")
10
+ }
11
+
12
+ extensions.configure<LibraryExtension> {
13
+ namespace = "com.regula.plugin.face.core.match"
14
+ compileSdk = 36
15
+
16
+ defaultConfig {
17
+ minSdk = 24
18
+ }
19
+ }
20
+
21
+ rootProject.allprojects {
22
+ repositories {
23
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") }
24
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Beta") }
25
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Nightly") }
26
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Stage") }
27
+ }
28
+ }
29
+
30
+ dependencies {
31
+ //noinspection GradleDynamicVersion
32
+ implementation("com.facebook.react:react-native:+")
33
+ //noinspection GradleDependency
34
+ implementation("com.regula.face.core:match:8.4.2098@aar")
35
+ }
@@ -0,0 +1,11 @@
1
+ repositories {
2
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") }
3
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Beta") }
4
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Nightly") }
5
+ maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Stage") }
6
+ }
7
+
8
+ dependencies {
9
+ //noinspection GradleDependency
10
+ add("implementation", "com.regula.face.core:match:8.4.2098@aar")
11
+ }
@@ -1,11 +1,11 @@
1
- package com.regula.plugin.facecore
1
+ package com.regula.plugin.face.core.match
2
2
 
3
3
  import com.facebook.react.ReactPackage
4
4
  import com.facebook.react.bridge.NativeModule
5
5
  import com.facebook.react.bridge.ReactApplicationContext
6
6
  import com.facebook.react.uimanager.ViewManager
7
7
 
8
- class RNFaceCorePackage : ReactPackage {
8
+ class FaceCoreMatchPackage : ReactPackage {
9
9
  override fun createNativeModules(rc: ReactApplicationContext) = listOf<NativeModule>()
10
10
  override fun createViewManagers(rc: ReactApplicationContext) = emptyList<ViewManager<*, *>>()
11
11
  }
@@ -0,0 +1 @@
1
+ // Dependency-only package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-core-match",
3
- "version": "8.4.852-rc",
3
+ "version": "8.4.856-rc",
4
4
  "description": "This is an npm module for Regula Face SDK Core. It enables core functionality for @regulaforensics/face-sdk.",
5
5
  "cordova": {
6
6
  "id": "@regulaforensics/face-core-match",
package/plugin.xml CHANGED
@@ -1,19 +1,19 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/face-core-match" version="8.4.852-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/face-core-match" version="8.4.856-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>FaceCore</name>
4
4
 
5
- <platform name="ios">
5
+ <platform name="ios" package="swift">
6
6
  <podspec>
7
7
  <config>
8
8
  <source url="https://github.com/regulaforensics/podspecs.git" />
9
9
  </config>
10
10
  <pods>
11
- <pod name="FaceCoreMatchStage" spec="8.4.2705" />
11
+ <pod name="FaceCoreMatchStage" spec="8.4.2711" nospm="true" />
12
12
  </pods>
13
13
  </podspec>
14
14
  </platform>
15
15
 
16
16
  <platform name="android">
17
- <framework src="android/cordova.gradle" custom="true" type="gradleReference" />
17
+ <framework src="android/cordova.gradle.kts" custom="true" type="gradleReference" />
18
18
  </platform>
19
19
  </plugin>
@@ -0,0 +1,12 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = 'react-native-face-core-match'
3
+ s.version = '8.4.856-rc'
4
+ s.summary = 'Regula React Native plugin.'
5
+ s.license = 'commercial'
6
+ s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
7
+ s.homepage = 'https://regulaforensics.com'
8
+ s.source = { :path => '.' }
9
+ s.ios.deployment_target = '15.0'
10
+ s.dependency 'FaceCoreMatchStage', '8.4.2711'
11
+ s.dependency 'React'
12
+ end
@@ -1,33 +0,0 @@
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 36
11
-
12
- defaultConfig {
13
- minSdkVersion 24
14
- targetSdk 36
15
- versionCode 1
16
- versionName "1.0"
17
- }
18
- }
19
-
20
- rootProject.allprojects {
21
- repositories {
22
- maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
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:match:8.4.2095@aar')
33
- }
@@ -1,10 +0,0 @@
1
- repositories {
2
- maven {
3
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
4
- }
5
- }
6
-
7
- dependencies {
8
- //noinspection GradleDependency
9
- implementation('com.regula.face.core:match:8.4.2095@aar')
10
- }
@@ -1,19 +0,0 @@
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 = 'face-core-match'
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 = '13.0'
17
- s.dependency 'FaceCoreMatchStage', '8.4.2705'
18
- s.dependency 'React'
19
- end