diff --git a/package.json b/package.json index 55b5b0a..f69aa81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-callkit", - "version": "1.0.0", + "version": "1.1.2", "description": "Cordova plugin that lets you use iOS CallKit UI (with PushKit) and Android ConnectionService UI", "cordova": { "id": "cordova-plugin-callkit", diff --git a/plugin.xml b/plugin.xml index d23da3c..223f410 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + Cordova CallKit diff --git a/src/ios/CordovaCall.m b/src/ios/CordovaCall.m index e418696..2bc8c00 100644 --- a/src/ios/CordovaCall.m +++ b/src/ios/CordovaCall.m @@ -726,6 +726,7 @@ - (void)pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayloa // Store URL and Call Id so they can be used for call Answer/Reject callBackUrl = [caller valueForKey:@"CallbackUrl"]; callId = [caller valueForKey:@"ConnectionId"]; + hasVideo = [[caller valueForKey:@"Video"] boolValue]; callData = data; if ([[caller valueForKey:@"CancelPush"] isEqualToString:@"true"]) { isCancelPush = YES;