@rick427/react-native-liveness 0.1.1 → 0.1.3
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 +6 -5
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -52,12 +52,12 @@ android {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
compileOptions {
|
|
55
|
-
sourceCompatibility JavaVersion.
|
|
56
|
-
targetCompatibility JavaVersion.
|
|
55
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
56
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
kotlinOptions {
|
|
60
|
-
jvmTarget = "
|
|
60
|
+
jvmTarget = "17"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -69,8 +69,9 @@ repositories {
|
|
|
69
69
|
dependencies {
|
|
70
70
|
implementation "com.facebook.react:react-android"
|
|
71
71
|
|
|
72
|
-
// Vision Camera
|
|
73
|
-
|
|
72
|
+
// Vision Camera — resolved from the consumer's node_modules via auto-linking,
|
|
73
|
+
// not from Maven. compileOnly = available at compile time, provided at runtime.
|
|
74
|
+
compileOnly project(':react-native-vision-camera')
|
|
74
75
|
|
|
75
76
|
// ML Kit Face Detection
|
|
76
77
|
implementation "com.google.mlkit:face-detection:16.1.7"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rick427/react-native-liveness",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Liveness detection library for React Native using Vision Camera v4 and ML Kit",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|