omikit-plugin 3.0.8 → 3.0.9

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.
@@ -107,7 +107,7 @@ dependencies {
107
107
  implementation "com.facebook.react:react-native:+" // From node_modules
108
108
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
109
109
  // implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
110
- api 'vn.vihat.omicall:omi-sdk:2.0.26'
110
+ api 'vn.vihat.omicall:omi-sdk:2.0.28'
111
111
  // implementation fileTree(include: ['*.jar'], dir: 'libs')
112
112
  // implementation files('OmiSDK.aar')
113
113
  implementation "com.google.android.flexbox:flexbox:3.0.0"
@@ -394,14 +394,14 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
394
394
  map.putString("_id", "")
395
395
  map.putString("message", messageCall(startCallResult.value) as String)
396
396
  Log.d("OMISDK", "=>> ON START CALL => $map")
397
- promise.resolve(true)
397
+ promise.resolve(map)
398
398
  }
399
399
  } else {
400
400
  map.putString("status","4")
401
401
  map.putString("_id", "")
402
402
  map.putString("message", messageCall(4) as String)
403
403
  Log.d("OMISDK", "=>> ON START CALL FAIL BECAUSE NEED PERMISSION => $map")
404
- promise.resolve(false)
404
+ promise.resolve(map)
405
405
  }
406
406
  }
407
407
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",