@smileid/usesmileid_mlkit_face 12.3.1-SNAPSHOT.75 → 12.4.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
Full release notes: [Smile ID docs](https://docs.usesmileid.com/developer-resources/sdks/mobile/release-notes/react-native-expo).
|
|
2
2
|
|
|
3
|
+
## 12.4.0
|
|
4
|
+
|
|
5
|
+
See the repository CHANGELOG for the 12.4.0 release notes.
|
|
6
|
+
|
|
7
|
+
|
|
3
8
|
## 12.3.0
|
|
4
9
|
|
|
5
10
|
See the repository CHANGELOG for the 12.3.0 release notes.
|
package/android/build.gradle
CHANGED
|
@@ -17,7 +17,7 @@ plugins {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
group = 'com.usesmileid.mlkit.face'
|
|
20
|
-
version = '12.
|
|
20
|
+
version = '12.4.0'
|
|
21
21
|
|
|
22
22
|
android {
|
|
23
23
|
namespace 'com.usesmileid.mlkit.face'
|
|
@@ -29,7 +29,7 @@ android {
|
|
|
29
29
|
// android/build.gradle and the rest of the @expo/* modules.
|
|
30
30
|
defaultConfig {
|
|
31
31
|
versionCode 1
|
|
32
|
-
versionName '12.
|
|
32
|
+
versionName '12.4.0'
|
|
33
33
|
// R8 keep-rules to bundle into partner apps that depend on this
|
|
34
34
|
// module. Without these, R8 may rename the Expo module entry
|
|
35
35
|
// point and the JS-bridged member functions, breaking autolinking.
|
|
@@ -41,7 +41,7 @@ dependencies {
|
|
|
41
41
|
// kamera native core: the analyzer executor takes analysis frames from
|
|
42
42
|
// kamera's KameraFrameHub so pixels never cross the JS bridge. Resolves from
|
|
43
43
|
// Maven Central; a local publishToMavenLocal build wins (see kamera.md).
|
|
44
|
-
implementation 'com.usesmileid:kamera:1.
|
|
44
|
+
implementation 'com.usesmileid:kamera:1.3.0'
|
|
45
45
|
|
|
46
46
|
// The analyzer executor and frame storage every provider module shares, from the bridge module.
|
|
47
47
|
implementation project(':smileid-usesmileid_bridge')
|
|
@@ -49,11 +49,11 @@ dependencies {
|
|
|
49
49
|
// Existing Smile ID native AAR — the entire ML pipeline lives here.
|
|
50
50
|
// This Expo Module is a thin Kotlin shim that constructs the
|
|
51
51
|
// session and bridges its four methods to JS via Expo Modules.
|
|
52
|
-
implementation 'com.usesmileid:mlkit-face:12.
|
|
52
|
+
implementation 'com.usesmileid:mlkit-face:12.4.0'
|
|
53
53
|
// The bridge build the bridge module ships. The provider's SDK artifact names its bridge too, and a
|
|
54
54
|
// snapshot names the moving x.y.z-SNAPSHOT, so this keeps the provider compiling against the build
|
|
55
55
|
// the app runs.
|
|
56
|
-
implementation 'com.usesmileid:bridge:12.
|
|
56
|
+
implementation 'com.usesmileid:bridge:12.4.0'
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
}
|
|
@@ -6,7 +6,6 @@ import com.usesmileid.bridge.model.BoundingBox as NativeBoundingBox
|
|
|
6
6
|
import com.usesmileid.bridge.model.CaptureReadyEvent as NativeCaptureReadyEvent
|
|
7
7
|
import com.usesmileid.bridge.model.FaceDetectorOutput as NativeFaceOutput
|
|
8
8
|
import com.usesmileid.bridge.model.HeadPoseResult
|
|
9
|
-
import com.usesmileid.bridge.model.YuvFrame as NativeYuvFrame
|
|
10
9
|
import com.usesmileid.bridge.registry.FaceAnalyzerFactoryRegistry
|
|
11
10
|
import com.usesmileid.bridge.session.FaceScanConfig
|
|
12
11
|
import com.usesmileid.bridge.session.UseSmileIDCaptureStep
|
|
@@ -67,12 +66,6 @@ class UseSmileIDMlkitFaceModule : Module() {
|
|
|
67
66
|
)
|
|
68
67
|
}
|
|
69
68
|
|
|
70
|
-
override suspend fun scan(
|
|
71
|
-
session: UseSmileIDFaceSession,
|
|
72
|
-
frame: NativeYuvFrame,
|
|
73
|
-
rotation: Int,
|
|
74
|
-
): UseSmileIDFaceScanResult = session.scan(frame, rotation)
|
|
75
|
-
|
|
76
69
|
override fun drainEvents(session: UseSmileIDFaceSession): List<NativeCaptureReadyEvent> =
|
|
77
70
|
session.drainCaptureReadyEvents()
|
|
78
71
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smileid/usesmileid_mlkit_face",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "Android MLKit face detection implementation for the UseSmileID React Native (Expo) SDK.",
|
|
5
5
|
"homepage": "https://usesmileid.com",
|
|
6
6
|
"repository": {
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"CHANGELOG.md"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@smileid/usesmileid_bridge": "12.
|
|
51
|
-
"@smileid/usesmileid_platform_interface": "12.
|
|
50
|
+
"@smileid/usesmileid_bridge": "12.4.0",
|
|
51
|
+
"@smileid/usesmileid_platform_interface": "12.4.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"expo": ">=56.0.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^26.6.4",
|
|
60
60
|
"expo": "~57.0.26",
|
|
61
|
-
"expo-modules-core": "^57.0.
|
|
61
|
+
"expo-modules-core": "^57.0.24",
|
|
62
62
|
"react-native": "^0.86.3",
|
|
63
63
|
"typescript": "^6.0.3"
|
|
64
64
|
},
|