omikit-plugin 3.2.90 → 3.2.91
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.
|
@@ -206,6 +206,16 @@ class CallManager {
|
|
|
206
206
|
return // Do not show missed call notification if the call has been answered
|
|
207
207
|
}
|
|
208
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
|
|
217
|
+
}
|
|
218
|
+
|
|
209
219
|
let user = UserDefaults.standard
|
|
210
220
|
let title = user.string(forKey: "omicall/missedCallTitle") ?? ""
|
|
211
221
|
let message = user.string(forKey: "omicall/prefixMissedCallMessage") ?? ""
|
package/omikit-plugin.podspec
CHANGED