Skip to content

Commit

Permalink
fix: use BMXCore 2.1.1 to support door release for devices (#29)
Browse files Browse the repository at this point in the history
* feat: incorporate Monarch support in the iOS Demo app (#24)

* feat: use WebRTC supported SDK to open door

make IncomingCallViewController conform to BMXCall.IncomingCallUIInputs
call new API BMXCallKit.shared.processCall(guid:callType:incomingCallPresenter:completion) to process incoming calls.

* refactor: remove some DispatchQueue.main.async

use DispatchQueue.main.async in our SDK instead to make users easier to use the SDK.

* refactor: remove extension for BMXCallDelegate

* refactor: pass unwrapped incomingViewController

pass unwrapped incomingViewController (with guard let) to processCall

Refs # NT-458

* refactor: refactor code to handle more call scenarios (#25)

* feat: use WebRTC supported SDK to open door

make IncomingCallViewController conform to BMXCall.IncomingCallUIInputs
call new API BMXCallKit.shared.processCall(guid:callType:incomingCallPresenter:completion) to process incoming calls.

* refactor: remove some DispatchQueue.main.async

use DispatchQueue.main.async in our SDK instead to make users easier to use the SDK.

* refactor: remove extension for BMXCallDelegate

* refactor: pass unwrapped incomingViewController

pass unwrapped incomingViewController (with guard let) to processCall

* refactor: add IncomingCallPresenter

only reportNewIncomingCall for the intial call.
show IncomingCallViewContrller after users press the accept button

* fix: review fixes

call CallsService.shared.endCurrentCallKitCall() instead of BMXCallKit.shared.endCall() in hangUpAction

remove function handleCallEnded

* refactor: use CallStatusHandler to handel handle call status changes

* fix: review fixes

remove CallEndReason

* fix: review fixes

use callConnected  instead of handleCallConnected
use callAccepted  instead of handleCallAccepted

Refs # NT-458

* fix: simplify Podfile

* feat: mark Intercom and Keypads for devices (#26)

add subtitle for DoorTableViewCell to show the current device is Intercom or KeyPad

add setup(by device: DeviceModel) in DoorTableViewCell

* chore: import BMXCore 2.1.0 and BMXCall 2.1.0

* chore: import BMXCall 2.1.1
  • Loading branch information
yingtao-butterflymx committed Nov 17, 2021
1 parent 68e63ae commit 4e2d6fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '10.0'
# platform :ios, '12.0'

target 'ButterflyMX Demo' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for ButterflyMX Demo
pod 'BMXCall', '~> 2.1.0'
pod 'BMXCall', '~> 2.1.1'
pod 'SVProgressHUD'
end

Expand Down
14 changes: 7 additions & 7 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- Alamofire (5.2.2)
- BMXCall (2.1.0):
- BMXCore (~> 2.1.0)
- BMXCall (2.1.1):
- BMXCore (~> 2.1.1)
- TwilioVideo (~> 4.4)
- BMXCore (2.1.0):
- BMXCore (2.1.1):
- Alamofire (~> 5.2.1)
- Japx/Alamofire
- OAuthSwift (= 2.1.0)
Expand All @@ -16,7 +16,7 @@ PODS:
- TwilioVideo (4.6.2)

DEPENDENCIES:
- BMXCall (~> 2.1.0)
- BMXCall (~> 2.1.1)
- SVProgressHUD

SPEC REPOS:
Expand All @@ -31,13 +31,13 @@ SPEC REPOS:

SPEC CHECKSUMS:
Alamofire: 814429acc853c6c54ff123fc3d2ef66803823ce0
BMXCall: 539c4bc7e5d143b71b764d67f069d157e91a4331
BMXCore: 619f9d7f3debdb407d4cf6a08888a1f9de257bdc
BMXCall: 5fa175ade41da9ef2b7b5a2a897cd8173f0b7dfb
BMXCore: a079fd611669f719904eeca2bb08fd67597772c0
Japx: 4bb2d79d023af5e7ea44c0a2875c4b070080e111
OAuthSwift: ab1675598273e04355e0282459c328e65c9ddacd
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
TwilioVideo: f8c75425bce3f41912bb24352154b0502d89a9b3

PODFILE CHECKSUM: af4d776c2ce2f8cc65bda9f8e762de2c0c5e30f1
PODFILE CHECKSUM: 413ffaacd62d332e0ece55c29cd69d46140b3acd

COCOAPODS: 1.11.2

0 comments on commit 4e2d6fb

Please sign in to comment.