@@ -190,7 +190,7 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
190190 // state check for response
191191 final call = _callManager.getCall (uuid);
192192 if (call == null ) {
193- printDebug ("Call not found : $uuid " , tag: tag);
193+ printDebug ("Call with uuid : $uuid not found. " , tag: tag);
194194 return ;
195195 }
196196 final validResponses = validCallStateDisconnectResponses[call.state] ?? DisconnectResponse .values;
@@ -208,6 +208,7 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
208208 }) async {
209209 final call = _callManager.getCall (uuid);
210210 if (call == null ) {
211+ printDebug ("Call with uuid: $uuid not found." , tag: tag);
211212 return null ;
212213 }
213214
@@ -315,6 +316,7 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
315316 }) async {
316317 final call = _callManager.getCall (uuid);
317318 if (call == null ) {
319+ printDebug ("Call with uuid: $uuid not found." , tag: tag);
318320 return null ;
319321 }
320322
@@ -372,6 +374,7 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
372374 Future <CKCall ?> updateCallType (String uuid, {required CallType callType}) async {
373375 final call = _callManager.getCall (uuid);
374376 if (call == null ) {
377+ printDebug ("Call with uuid: $uuid not found." , tag: tag);
375378 return null ;
376379 }
377380
@@ -508,28 +511,29 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
508511 }
509512
510513 Future <void > _onCallEvent (CallEvent event) async {
514+ printDebug ("Call Event: ${event .type }" , tag: tag);
511515 final call = event.call;
512516 // ignore: unused_local_variable
513517 final id = call.uuid;
514- printDebug (event);
515518
516519 switch (event.type) {
517520 case CallEventType .add:
518- // report new call
521+ printDebug ( "Call Event: add: ${ event . uuid }" , tag : tag);
519522
520523 // ignore: unused_local_variable
521524 final call = event.call;
522525
523526 break ;
524527
525528 case CallEventType .update:
526- // report call update
529+ printDebug ( "Call Event: update: ${ event . uuid }" , tag : tag);
527530
528531 // ignore: unused_local_variable
529532 final call = event.call;
530533 break ;
531534
532535 case CallEventType .remove:
536+ printDebug ("Call Event: remove: ${event .uuid }" , tag: tag);
533537 // dismiss/remove notification
534538 // ignore: unused_local_variable
535539 final call = event.call;
0 commit comments