omikit-plugin 3.2.90 → 3.2.92
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
|
@@ -121,7 +121,7 @@ dependencies {
|
|
|
121
121
|
implementation("androidx.work:work-runtime:2.8.1")
|
|
122
122
|
implementation "androidx.security:security-crypto:1.1.0-alpha06"
|
|
123
123
|
// api 'vn.vihat.omicall:omi-sdk:2.3.23'
|
|
124
|
-
api "io.omicrm.vihat:omi-sdk:2.3.
|
|
124
|
+
api "io.omicrm.vihat:omi-sdk:2.3.75"
|
|
125
125
|
|
|
126
126
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
127
127
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
@@ -201,9 +201,19 @@ class CallManager {
|
|
|
201
201
|
return // No missed call to show
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
let statusAnswer = OmiClient.
|
|
205
|
-
if (statusAnswer) {
|
|
206
|
-
return // Do not show missed call notification
|
|
204
|
+
let statusAnswer = OmiClient.checkHasShowMissedCall(call.omiId ?? "")
|
|
205
|
+
if (!statusAnswer) {
|
|
206
|
+
return // Do not show missed call notification
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// Lý do không cần hiển thị
|
|
210
|
+
switch call.terminateReason {
|
|
211
|
+
case .callCompletedElsewhere:
|
|
212
|
+
return
|
|
213
|
+
case .originatorCancel, .unknown:
|
|
214
|
+
break // Tiếp tục show
|
|
215
|
+
default:
|
|
216
|
+
return
|
|
207
217
|
}
|
|
208
218
|
|
|
209
219
|
let user = UserDefaults.standard
|
package/omikit-plugin.podspec
CHANGED