@oiti/rn-liveness3d 2.5.2 → 2.5.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.
@@ -88,8 +88,8 @@
88
88
  promise.reject(E_ACTIVITY_DOES_NOT_EXIST, "Activity doesn't exist")
89
89
  return;
90
90
  }
91
- val env: ENVIRONMENT3D = if (environment.equals("PRD")) ENVIRONMENT3D.PRD else ENVIRONMENT3D.HML
92
91
  try {
92
+ val env: ENVIRONMENT3D = if (environment.equals("PRD")) ENVIRONMENT3D.PRD else ENVIRONMENT3D.HML
93
93
  val liveness3DUser = Liveness3DUser(appKey = appKey, env, themeBuilder)
94
94
 
95
95
  val intent = Intent(currentActivity, HybridLiveness3DActivity::class.java).apply {
@@ -76,9 +76,11 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
76
76
  print("Env STRING")
77
77
  print(env)
78
78
  print("-----")
79
+
79
80
  print("Env")
80
81
  print(env == "PRD" ? Environment.PRD : Environment.HML)
81
82
  print("-----")
83
+
82
84
  let liveness3DUser = Liveness3DUser(
83
85
  appKey: appKey,
84
86
  ticket: ticket,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oiti/rn-liveness3d",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",