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 {
88
88
result (nil );
89
89
}
90
90
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 ]];
92
92
result (nil );
93
93
}
94
94
else if ([@" isCallActive" isEqualToString: method]) {
Original file line number Diff line number Diff line change @@ -104,19 +104,19 @@ class FlutterCallkeep extends EventManager {
104
104
}
105
105
}
106
106
107
- Future <void > startCall (String uuid, String handle , String callerName,
107
+ Future <void > startCall (String uuid, String number , String callerName,
108
108
{String handleType = 'number' , bool hasVideo = false }) async {
109
109
if (! isIOS) {
110
110
await _channel.invokeMethod <void >('startCall' , < String , dynamic > {
111
111
'uuid' : uuid,
112
- 'handle ' : handle ,
112
+ 'number ' : number ,
113
113
'callerName' : callerName
114
114
});
115
115
return ;
116
116
}
117
117
await _channel.invokeMethod <void >('startCall' , < String , dynamic > {
118
118
'uuid' : uuid,
119
- 'handle ' : handle ,
119
+ 'number ' : number ,
120
120
'callerName' : callerName,
121
121
'handleType' : handleType,
122
122
'hasVideo' : hasVideo
You can’t perform that action at this time.
0 commit comments