omikit-plugin 3.2.8 → 3.2.10
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
CHANGED
|
@@ -104,7 +104,7 @@ dependencies {
|
|
|
104
104
|
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
|
|
105
105
|
//noinspection GradleDynamicVersion
|
|
106
106
|
// implementation "com.facebook.react:react-native"
|
|
107
|
-
api 'vn.vihat.omicall:omi-sdk:2.0.
|
|
107
|
+
api 'vn.vihat.omicall:omi-sdk:2.0.61'
|
|
108
108
|
|
|
109
109
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
110
110
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
@@ -348,6 +348,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
348
348
|
fun getInitialCall(promise: Promise) {
|
|
349
349
|
currentActivity?.runOnUiThread {
|
|
350
350
|
val call = OmiClient.getInstance(reactApplicationContext!!).getCurrentCallInfo()
|
|
351
|
+
Log.d("getInitialCall RN", "getInitialCall $call")
|
|
351
352
|
if (call != null) {
|
|
352
353
|
val map: WritableMap = WritableNativeMap()
|
|
353
354
|
map.putString("callerNumber", call["callerNumber"] as String)
|