edoctor-sendbird-calls 1.0.0 → 1.0.1-beta.1

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.
@@ -469,6 +469,8 @@ class RNSendBirdCalls: RCTEventEmitter, SendBirdCallDelegate, DirectCallDelegate
469
469
  update.hasVideo = directCall.isVideoCall
470
470
  update.localizedCallerName = "BS. \(directCall.caller?.nickname ?? "Chưa xác định")"
471
471
 
472
+ print(TAG + "call count: \(SendBirdCall.getOngoingCallCount())")
473
+
472
474
  if SendBirdCall.getOngoingCallCount() > 1 {
473
475
  CXCallManager.shared.reportIncomingCall(with: uuid, update: update) { _ in
474
476
  CXCallManager.shared.endCall(for: uuid, endedAt: Date(), reason: .declined)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edoctor-sendbird-calls",
3
- "version": "1.0.0",
3
+ "version": "1.0.1-beta.1",
4
4
  "description": "edoctor-sendbird-calls",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",