Skip to content

Commit

Permalink
Fix communication behaviours between Native and App Calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Mendes committed Aug 31, 2018
1 parent 909805b commit 9440ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CordovaCall.m
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ - (void)provider:(CXProvider *)provider performAnswerCallAction:(CXAnswerCallAct
- (void)provider:(CXProvider *)provider performEndCallAction:(CXEndCallAction *)action
{
NSArray<CXCall *> *calls = self.callController.callObserver.calls;
if([calls count] == 1) {
if([calls count] >= 1) {
if(calls[0].hasConnected) {
for (id callbackId in callbackIds[@"hangup"]) {
CDVPluginResult* pluginResult = nil;
Expand Down

0 comments on commit 9440ca3

Please sign in to comment.