File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ - (BOOL)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
8888 result (nil );
8989 }
9090 else if ([@ " startCall" isEqualToString: method]) {
91- [self startCall: argsMap[@" uuid" ] handle: argsMap[@" handle " ] contactIdentifier: argsMap[@" callerName" ] handleType: argsMap[@" handleType" ] video: [argsMap[@" hasVideo" ] boolValue ]];
91+ [self startCall: argsMap[@" uuid" ] handle: argsMap[@" number " ] contactIdentifier: argsMap[@" callerName" ] handleType: argsMap[@" handleType" ] video: [argsMap[@" hasVideo" ] boolValue ]];
9292 result (nil );
9393 }
9494 else if ([@" isCallActive" isEqualToString: method]) {
Original file line number Diff line number Diff line change @@ -104,19 +104,19 @@ class FlutterCallkeep extends EventManager {
104104 }
105105 }
106106
107- Future <void > startCall (String uuid, String handle , String callerName,
107+ Future <void > startCall (String uuid, String number , String callerName,
108108 {String handleType = 'number' , bool hasVideo = false }) async {
109109 if (! isIOS) {
110110 await _channel.invokeMethod <void >('startCall' , < String , dynamic > {
111111 'uuid' : uuid,
112- 'handle ' : handle ,
112+ 'number ' : number ,
113113 'callerName' : callerName
114114 });
115115 return ;
116116 }
117117 await _channel.invokeMethod <void >('startCall' , < String , dynamic > {
118118 'uuid' : uuid,
119- 'handle ' : handle ,
119+ 'number ' : number ,
120120 'callerName' : callerName,
121121 'handleType' : handleType,
122122 'hasVideo' : hasVideo
You can’t perform that action at this time.
0 commit comments