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") ?? ""
@@ -34,8 +34,8 @@ Pod::Spec.new do |s|
34
34
 
35
35
  # Thêm dependency bắt buộc
36
36
  s.dependency "React-Core"
37
- # Sử dụng version OmiKit ổn định hơn
38
- s.dependency "OmiKit", "1.8.40"
37
+
38
+ s.dependency "OmiKit", "1.8.42"
39
39
 
40
40
 
41
41
  s.requires_arc = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.2.90",
3
+ "version": "3.2.91",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",