@oiti/rn-liveness3d 1.0.2 → 1.0.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/ios/RnLiveness3d.swift +1 -17
- package/package.json +1 -1
package/ios/RnLiveness3d.swift
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
1
|
import FaceCaptcha
|
|
2
2
|
import AVFoundation
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
private let configuration: OIObservability.EventConfigurationProtocol
|
|
6
|
-
private let manager: OIObservability.EventManagerProtocol
|
|
7
|
-
|
|
8
|
-
init(configuration: OIOBservability.EventConfigurationProtocol){
|
|
9
|
-
serf.configuration = configuration
|
|
10
|
-
self.manager = configuration.eventManager
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
func logEventHybrid(value: String){
|
|
14
|
-
let parameters: [String: Any] = [
|
|
15
|
-
"value": values,
|
|
16
|
-
"timestamp": Date().timeIntervalSince1970
|
|
17
|
-
]
|
|
18
|
-
manager.logEvent(type: .ACTION_L3FT_instructionContinue, parameters: parameters)
|
|
19
|
-
}
|
|
20
|
-
}
|
|
4
|
+
|
|
21
5
|
|
|
22
6
|
@objc(RnLiveness3d)
|
|
23
7
|
class RnLiveness3d: NSObject, Liveness3DDelegate {
|