Call acceptance and rejection errors (PlatformException, _TypeError)
MagerramovBoris opened this issue · 6 comments
Good afternoon!
I have 2 problems related to Call invitations and these problems i didn't haven't seen it in the community.
- I have read the Getting Started and Getting Started(with call invitation)
- I have already searched for the same problem
Environment
Technology | Version |
---|---|
Flutter version | 3.19.5 |
Plugin version | 4.9.0 |
Android version | API 34 |
iOS version | Not tested |
macOS version | Not tested |
Xcode version | Not tested |
Google Chrome version | Not tested |
Device information:
Description
Expected behavior:
-
The call just starts without errors.
-
The call can be rejected without errors.
Current behavior:
1 problem.
The error is thrown in the library ZegoUIKitCore.joinRoom
, ZegoRoomService.joinRoom
, MethodChannelWakelockPlus.enabled
. It's happenening when user accept an invitation call and happens for both users in app. Moreover, if these errors are ignored, the call itself works normally.
Error:
PlatformException (PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.wakelock_plus_platform_interface.WakelockPlusApi.isEnabled"., null, null))
2 problem.
The error occurs when the user declines an incoming call by clicking on the decline button.
Behavior of the device to which the call is made: a black screen appears. If you press the back button, an error appears in the console. Then the device shows a red screen with an error text.
Error:
_TypeError (Null check operator used on a null value)
The error points to a library in part ZegoCallingMachine.onCallingEntry
.
Steps to reproduce
I'm using implementation call invitations with GoRouter.
I pass the global navigator key to the router and set it to ZegoUIKitPrebuiltCallInvitationService
before calling ZegoUIKitPrebuiltCallInvitationService().init
.
Stacktrace/Logcat
Details
{uikit} {core} {join room result: 0 {}} {09/05/2024 12:36:10} {INFO}
{uikit} {core data} {startPublishingStream local user stream id(call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main) of ZegoStreamType.main is not empty} {09/05/2024 12:36:10} {WARNING}
{uikit} {core data} {onRoomUserUpdate, room id:"call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702", update type:ZegoUpdateType.Adduser list:("IUKzosTdg8We9qxzxPfft0JBbTE2":Danil, )} {09/05/2024 12:36:10} {INFO}
{uikit} {audio video view} {IUKzosTdg8We9qxzxPfft0JBbTE2's camera is not open} {09/05/2024 12:36:10} {INFO}
{uikit} {audio video view} {render zGNGK6TftCdQZgFJ4EX9NkM54sf2's view} {09/05/2024 12:36:11} {INFO}
{call} {ringtone} {ring timer ended} {09/05/2024 12:36:11} {INFO}
{call} {ringtone} {audioPlayer stop done} {09/05/2024 12:36:11} {INFO}
{uikit} {core} {set video config:ZegoUIKitVideoConfig{fps:15, bitrate:1200, width:540, height:960, }} {09/05/2024 12:36:11} {ERROR}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:11} {INFO}
{uikit} {core data} {onPublisherStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main, state:ZegoPublisherState.PublishRequesting, errorCode:0, extendedData:{}} {09/05/2024 12:36:12} {INFO}
{uikit} {core data} {onPublisherStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main, state:ZegoPublisherState.Publishing, errorCode:0, extendedData:{}} {09/05/2024 12:36:12} {INFO}
{uikit} {audio video view} {IUKzosTdg8We9qxzxPfft0JBbTE2's camera is not open} {09/05/2024 12:36:12} {INFO}
{uikit} {audio video view} {render zGNGK6TftCdQZgFJ4EX9NkM54sf2's view} {09/05/2024 12:36:12} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:12} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:12} {INFO}
{uikit} {core data} {onRoomStreamUpdate, roomID:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702, update type:ZegoUpdateType.Add, stream list:(stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, extra info{"isCameraOn":true,"isMicrophoneOn":true}, user id:IUKzosTdg8We9qxzxPfft0JBbTE2), extended data:{}} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {stream dict add call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main for IUKzosTdg8We9qxzxPfft0JBbTE2, {call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main: zGNGK6TftCdQZgFJ4EX9NkM54sf2, call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main: IUKzosTdg8We9qxzxPfft0JBbTE2}} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {start play stream id: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user id:IUKzosTdg8We9qxzxPfft0JBbTE2} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {startPlayingStream, createCanvasView, onViewCreated done, viewID:5, user id:IUKzosTdg8We9qxzxPfft0JBbTE2, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, } {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {start play stream id: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user id:IUKzosTdg8We9qxzxPfft0JBbTE2} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {startPlayingStream, createCanvasView done, widget:ZegoTextureWidgetuser id:IUKzosTdg8We9qxzxPfft0JBbTE2, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, } {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {onRoomStreamExtraInfoUpdate, roomID:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702, stream list:(stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, extra info{"isCameraOn":true,"isMicrophoneOn":true}, user id:IUKzosTdg8We9qxzxPfft0JBbTE2)} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {onRemoteCameraStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoRemoteDeviceState.Open} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {onRemoteCameraStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user:id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, state:ZegoRemoteDeviceState.Open, old value:false, old mute value:false} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {onRemoteMicStateUpdate, stream call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoRemoteDeviceState.Open} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {onRemoteMicStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user:id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, state:ZegoRemoteDeviceState.Open} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {finish play stream id: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user id:IUKzosTdg8We9qxzxPfft0JBbTE2} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {onPlayerStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoPlayerState.PlayRequesting, errorCode:0, extendedData:{}} {09/05/2024 12:36:16} {INFO}
{uikit} {audio video view} {render zGNGK6TftCdQZgFJ4EX9NkM54sf2's view} {09/05/2024 12:36:16} {INFO}
{uikit} {audio video view} {render IUKzosTdg8We9qxzxPfft0JBbTE2's view} {09/05/2024 12:36:16} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:16} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:16} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:16} {INFO}
{uikit} {core data} {onPlayerStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoPlayerState.Playing, errorCode:0, extendedData:{}} {09/05/2024 12:36:17} {INFO}
{uikit} {core data} {onRemoteCameraStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoRemoteDeviceState.Open} {09/05/2024 12:36:17} {INFO}
{uikit} {core data} {onRemoteCameraStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user:id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, state:ZegoRemoteDeviceState.Open, old value:true, old mute value:false} {09/05/2024 12:36:17} {INFO}
{uikit} {core data} {onRemoteMicStateUpdate, stream call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoRemoteDeviceState.Open} {09/05/2024 12:36:17} {INFO}
{uikit} {core data} {onRemoteMicStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user:id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, state:ZegoRemoteDeviceState.Open} {09/05/2024 12:36:17} {INFO}
{uikit} {audio video view} {render zGNGK6TftCdQZgFJ4EX9NkM54sf2's view} {09/05/2024 12:36:17} {INFO}
{uikit} {audio video view} {render IUKzosTdg8We9qxzxPfft0JBbTE2's view} {09/05/2024 12:36:17} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:17} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:36:17} {INFO}
{uikit} {core data} {onPlayerVideoSizeChanged streamID: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main width: 540 height: 960} {09/05/2024 12:36:17} {INFO}
{uikit} {core data} {onRemoteCameraStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoRemoteDeviceState.NotSupport} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {onRemoteCameraStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user:id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, state:ZegoRemoteDeviceState.NotSupport, old value:true, old mute value:false} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {onRemoteMicStateUpdate, stream call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoRemoteDeviceState.NotSupport} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {onRemoteMicStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user:id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, state:ZegoRemoteDeviceState.NotSupport} {09/05/2024 12:37:35} {INFO}
{uikit} {audio video view} {IUKzosTdg8We9qxzxPfft0JBbTE2's camera is not open} {09/05/2024 12:37:35} {INFO}
{uikit} {audio video view} {render zGNGK6TftCdQZgFJ4EX9NkM54sf2's view} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {onRoomStreamUpdate, roomID:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702, update type:ZegoUpdateType.Delete, stream list:(stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, extra info{"isCameraOn":true,"isMicrophoneOn":true}, user id:IUKzosTdg8We9qxzxPfft0JBbTE2), extended data:{stream_delete_reason: [{code: 1, description: stop_publishing_stream_normal, stream_id: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main}]}} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {stop play stream id: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {stopped play stream id call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, user id is: IUKzosTdg8We9qxzxPfft0JBbTE2} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {stream dict remove call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, {call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main: zGNGK6TftCdQZgFJ4EX9NkM54sf2}} {09/05/2024 12:37:35} {INFO}
{uikit} {audio video view} {IUKzosTdg8We9qxzxPfft0JBbTE2's camera is not open} {09/05/2024 12:37:35} {INFO}
{uikit} {audio video view} {render zGNGK6TftCdQZgFJ4EX9NkM54sf2's view} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {onPlayerStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_IUKzosTdg8We9qxzxPfft0JBbTE2_main, state:ZegoPlayerState.NoPlay, errorCode:0, extendedData:{}} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {onRoomUserUpdate, room id:"call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702", update type:ZegoUpdateType.Deleteuser list:("IUKzosTdg8We9qxzxPfft0JBbTE2":Danil, )} {09/05/2024 12:37:35} {INFO}
{call} {prebuilt} {onUserLeave} {09/05/2024 12:37:35} {INFO}
{uikit} {audio video view} {render zGNGK6TftCdQZgFJ4EX9NkM54sf2's view} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {app orientation is equal} {09/05/2024 12:37:35} {INFO}
{call} {page manager} {prebuilt call page dispose} {09/05/2024 12:37:35} {INFO}
{call} {page manager} {invitation page service to be idle, needPop:false, needClearCallKit:true} {09/05/2024 12:37:35} {INFO}
{call} {ringtone} {stop ring} {09/05/2024 12:37:35} {INFO}
{call} {ringtone} {stop ring} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {turn off zGNGK6TftCdQZgFJ4EX9NkM54sf2 camera} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {turn off local camera} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {stop preview} {09/05/2024 12:37:35} {INFO}
{call} {notification manager} {cancelAll} {09/05/2024 12:37:35} {INFO}
{signaling} {channel} {dismissAllNotifications} {09/05/2024 12:37:35} {INFO}
{call} {page manager} {hideInvitationTopSheet} {09/05/2024 12:37:35} {INFO}
{call} {page manager} {restore to idle, current state:CallingState.kOnlineAudioVideo} {09/05/2024 12:37:35} {INFO}
{call} {machine} {calling machine to be idle} {09/05/2024 12:37:35} {INFO}
{call} {machine} {calling, from State[CallingState.kOnlineAudioVideo] to State[CallingState.kIdle]} {09/05/2024 12:37:35} {INFO}
{call} {calling page} {onStateChanged, currentState:CallingState.kIdle, } {09/05/2024 12:37:35} {INFO}
{call} {callkit} {clear offline callkit id} {09/05/2024 12:37:35} {INFO}
{call} {callkit} {clear offline callkit params} {09/05/2024 12:37:35} {INFO}
{call} {callkit} {clear all callKit calls} {09/05/2024 12:37:35} {INFO}
{call} {controller.p} {un-init by prebuilt} {09/05/2024 12:37:35} {INFO}
{call} {controller.user.p} {un-init by prebuilt} {09/05/2024 12:37:35} {INFO}
{call} {controller.audioVideo.p} {un-init by prebuilt} {09/05/2024 12:37:35} {INFO}
{call} {controller.audioVideo.p} {un-init by prebuilt} {09/05/2024 12:37:35} {INFO}
{call} {controller.audioVideo.p} {un-init by prebuilt} {09/05/2024 12:37:35} {INFO}
{call} {controller.audioVideo.p} {un-init by prebuilt} {09/05/2024 12:37:35} {INFO}
{call} {controller.minimize.p} {un-init by prebuilt} {09/05/2024 12:37:35} {INFO}
{uikit} {core} {leave room} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {clear} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {clear stream} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {stopPublishingStream ZegoStreamType.main call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main}} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {stream dict remove call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main, now stream dict:{}} {09/05/2024 12:37:35} {INFO}
{uikit core data} {media} {clear} {09/05/2024 12:37:35} {INFO}
{uikit core data} {media} {stopMedia} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {local user has not publish stream, send sei will be failed} {09/05/2024 12:37:35} {ERROR}
{uikit} {core room} {clear} {09/05/2024 12:37:35} {INFO}
{call} {page manager} {setPendingCallPageDisposeFlag:false} {09/05/2024 12:37:35} {INFO}
{call} {callkit} {clear offline callkit params done} {09/05/2024 12:37:35} {INFO}
{uikit core data} {media} {stopMedia done} {09/05/2024 12:37:35} {INFO}
{call} {ringtone} {audioPlayer stop done} {09/05/2024 12:37:35} {INFO}
{call} {ringtone} {audioPlayer stop done} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {startPublishOrNot room id is empty} {09/05/2024 12:37:35} {ERROR}
{uikit} {core data} {onPublisherStateUpdate, stream id:call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702_zGNGK6TftCdQZgFJ4EX9NkM54sf2_main, state:ZegoPublisherState.NoPublish, errorCode:0, extendedData:{}} {09/05/2024 12:37:35} {INFO}
{uikit} {core data} {onRoomStateChanged roomID: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258159702, reason: ZegoRoomStateChangedReason.Logout, errorCode: 0, extendedData: {}} {09/05/2024 12:37:35} {INFO}
{uikit core} {event} {uninit} {09/05/2024 12:37:36} {INFO}
{uikit core} {event.media} {uninit} {09/05/2024 12:37:36} {INFO}
{uikit} {core data} {local user has not publish stream, send sei will be failed} {09/05/2024 12:37:36} {ERROR}
{signaling} {event center} {onCallInvitationReceived, invitationID:1610930034591485036, info:ZIMCallInvitationReceivedInfo{timeout:20, inviter:IUKzosTdg8We9qxzxPfft0JBbTE2, caller:IUKzosTdg8We9qxzxPfft0JBbTE2, extendedData:{"inviter_id":"IUKzosTdg8We9qxzxPfft0JBbTE2","inviter_name":"Danil","type":1,"data":"{\"call_id\":\"call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258444285\",\"invitees\":[{\"user_id\":\"zGNGK6TftCdQZgFJ4EX9NkM54sf2\",\"user_name\":\"Liam\"}],\"timeout\":20,\"custom_data\":\"\"}"}, createTime:1715258444029, mode:ZIMCallInvitationMode.general, callUserList:[ZIMCallUserInfo{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZIMCallUserState.inviting, extendedData:}, ZIMCallUserInfo{userID:IUKzosTdg8We9qxzxPfft0JBbTE2, state:ZIMCallUserState.accepted, extendedData:}] } {09/05/2024 12:40:45} {INFO}
{uikit} {signaling invitation data} {onIncomingInvitationReceived, {invitationID: 1610930034591485036, mode:ZegoSignalingPluginInvitationMode.general, inviterID: IUKzosTdg8We9qxzxPfft0JBbTE2, timeoutSecond: 20, createTime:1715258444029, callUserList:[{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZegoSignalingPluginInvitationUserState.inviting, extended data:}, {userID:IUKzosTdg8We9qxzxPfft0JBbTE2, state:ZegoSignalingPluginInvitationUserState.accepted, extended data:}], extendedData: {"inviter_id":"IUKzosTdg8We9qxzxPfft0JBbTE2","inviter_name":"Danil","type":1,"data":"{\"call_id\":\"call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258444285\",\"invitees\":[{\"user_id\":\"zGNGK6TftCdQZgFJ4EX9NkM54sf2\",\"user_name\":\"Liam\"}],\"timeout\":20,\"custom_data\":\"\"}"}}} {09/05/2024 12:40:45} {INFO}
{uikit} {signaling invitation data} {add invitation data id:1610930034591485036, type:1, inviter id:IUKzosTdg8We9qxzxPfft0JBbTE2, invitees:(userid :zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:InvitationState.waiting), data:{"call_id":"call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258444285","invitees":[{"user_id":"zGNGK6TftCdQZgFJ4EX9NkM54sf2","user_name":"Liam"}],"timeout":20,"custom_data":""}, resourceID:} {09/05/2024 12:40:45} {INFO}
{call} {page manager} {on invitation received, state:AppLifecycleState.resumed, _init:true, inviter:{id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, in-room attributes:{}, camera:false, microphone:false, microphone mute mode:false }, type:1, in background: false, data:{"call_id":"call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258444285","invitees":[{"user_id":"zGNGK6TftCdQZgFJ4EX9NkM54sf2","user_name":"Liam"}],"timeout":20,"custom_data":""}, params:{invitation_id: 1610930034591485036, data: {"call_id":"call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258444285","invitees":[{"user_id":"zGNGK6TftCdQZgFJ4EX9NkM54sf2","user_name":"Liam"}],"timeout":20,"custom_data":""}, type: 1, inviter: {id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, in-room attributes:{}, camera:false, microphone:false, microphone mute mode:false }, create_timestamp_second: 1715258444, timeout_second: 20}} {09/05/2024 12:40:45} {INFO}
{call} {page manager} {_invitationData:callID: call_IUKzosTdg8We9qxzxPfft0JBbTE2_1715258444285, invitationID: 1610930034591485036, type: ZegoCallType.videoCall, invitees: ({id:zGNGK6TftCdQZgFJ4EX9NkM54sf2, name:Liam, in-room attributes:{}, camera:false, microphone:true, microphone mute mode:false }), inviter: {id:IUKzosTdg8We9qxzxPfft0JBbTE2, name:Danil, in-room attributes:{}, camera:false, microphone:false, microphone mute mode:false }, customData: .} {09/05/2024 12:40:45} {INFO}
{call} {page manager} {_waitingCallInvitationReceivedAfterCallKitIncomingAccepted:false, callkit call id:null} {09/05/2024 12:40:45} {INFO}
{call} {ringtone} {start ring, source path:assets/invitation/audio/incoming.mp3} {09/05/2024 12:40:45} {INFO}
{call} {page manager} {showInvitationTopSheet, contextQuery:Closure: () => BuildContext, } {09/05/2024 12:40:45} {INFO}
{call} {ringtone} {audioPlayer play done} {09/05/2024 12:40:45} {INFO}
{signaling} {event center} {onCallUserStateChanged, callUserList:({userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZIMCallUserState.received, extendedData:}),invitationID:1610930034591485036} {09/05/2024 12:40:45} {INFO}
{uikit} {signaling invitation data} {onInvitationUserStateChanged, {invitationID:1610930034591485036, callUserList:[{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZegoSignalingPluginInvitationUserState.received, extended data:}]}} {09/05/2024 12:40:45} {INFO}
{uikit} {signaling advance invitation data} {onAdvanceInvitationUserStateChanged, {invitationID:1610930034591485036, callUserList:[{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZegoSignalingPluginInvitationUserState.received, extended data:}]}} {09/05/2024 12:40:45} {INFO}
{uikit} {signaling advance invitation data} {add user info, zGNGK6TftCdQZgFJ4EX9NkM54sf2} {09/05/2024 12:40:45} {INFO}
{uikit} {signaling advance invitation data} {invitation map: {}} {09/05/2024 12:40:45} {INFO}
{call} {page manager} {on invitation user state changed, event:{invitationID:1610930034591485036, callUserList:[{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZegoSignalingPluginInvitationUserState.received, extended data:}]}} {09/05/2024 12:40:45} {INFO}
{uikit} {signaling invitation service} {refuse invitation, invitationID:1610930034591485036, inviter id:IUKzosTdg8We9qxzxPfft0JBbTE2, data:{"reason":"decline"}} {09/05/2024 12:40:47} {INFO}
{uikit} {signaling invitation data} {remove invitation data, invitationID: 1610930034591485036} {09/05/2024 12:40:47} {INFO}
{signaling} {invitation} {refuse invitation, invitation id:1610930034591485036, extendedData:{"reason":"decline"}} {09/05/2024 12:40:47} {INFO}
{signaling} {invitation} {refuse invitation, done, invitation id:1610930034591485036} {09/05/2024 12:40:47} {INFO}
{uikit} {signaling invitation data} {reject invitation done, invitationID:1610930034591485036} {09/05/2024 12:40:47} {INFO}
{call} {page manager} {hideInvitationTopSheet} {09/05/2024 12:40:47} {INFO}
{call} {page manager} {local refuse invitation, code:, message:, lifecycleState:AppLifecycleState.resumed} {09/05/2024 12:40:47} {INFO}
{call} {page manager} {invitation page service to be idle, needPop:true, needClearCallKit:true} {09/05/2024 12:40:47} {INFO}
{call} {ringtone} {stop ring} {09/05/2024 12:40:47} {INFO}
{call} {ringtone} {stop ring} {09/05/2024 12:40:47} {INFO}
{uikit} {core} {turn off zGNGK6TftCdQZgFJ4EX9NkM54sf2 camera} {09/05/2024 12:40:47} {INFO}
{uikit} {core} {turn off local camera} {09/05/2024 12:40:47} {INFO}
{uikit} {core} {turn on local camera, value is equal} {09/05/2024 12:40:47} {INFO}
{call} {notification manager} {cancelAll} {09/05/2024 12:40:47} {INFO}
{signaling} {channel} {dismissAllNotifications} {09/05/2024 12:40:47} {INFO}
{call} {page manager} {hideInvitationTopSheet} {09/05/2024 12:40:47} {INFO}
{call} {callkit} {clear offline callkit id} {09/05/2024 12:40:47} {INFO}
{call} {callkit} {clear offline callkit params} {09/05/2024 12:40:47} {INFO}
{call} {callkit} {clear all callKit calls} {09/05/2024 12:40:47} {INFO}
{call} {callkit} {clear offline callkit params done} {09/05/2024 12:40:47} {INFO}
{signaling} {event center} {onCallUserStateChanged, callUserList:({userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZIMCallUserState.rejected, extendedData:{"reason":"decline"}}),invitationID:1610930034591485036} {09/05/2024 12:40:47} {INFO}
{uikit} {signaling invitation data} {onInvitationUserStateChanged, {invitationID:1610930034591485036, callUserList:[{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZegoSignalingPluginInvitationUserState.rejected, extended data:{"reason":"decline"}}]}} {09/05/2024 12:40:47} {INFO}
{uikit} {signaling advance invitation data} {onAdvanceInvitationUserStateChanged, {invitationID:1610930034591485036, callUserList:[{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZegoSignalingPluginInvitationUserState.rejected, extended data:{"reason":"decline"}}]}} {09/05/2024 12:40:47} {INFO}
{uikit} {signaling advance invitation data} {add user info, zGNGK6TftCdQZgFJ4EX9NkM54sf2} {09/05/2024 12:40:47} {INFO}
{uikit} {signaling advance invitation data} {invitation map: {}} {09/05/2024 12:40:47} {INFO}
{call} {page manager} {on invitation user state changed, event:{invitationID:1610930034591485036, callUserList:[{userID:zGNGK6TftCdQZgFJ4EX9NkM54sf2, state:ZegoSignalingPluginInvitationUserState.rejected, extended data:{"reason":"decline"}}]}} {09/05/2024 12:40:47} {INFO}
{call} {ringtone} {audioPlayer stop done} {09/05/2024 12:40:47} {INFO}
{call} {ringtone} {audioPlayer stop done} {09/05/2024 12:40:47} {INFO}
{call} {ringtone} {ring timer ended} {09/05/2024 12:40:48} {INFO}
{call} {ringtone} {audioPlayer stop done} {09/05/2024 12:40:48} {INFO}
What could these errors be related to? The code usage is standard.
I had the same problem.
The problem arose due to the fact that one of the packages (zego_uikit: 2.22.2) on which zego_uikit_prebuilt_call: 4.9.0 depends uses wakelock_plus: ^1.1.3
- the version will be loaded in the system (C:\Users\USER\AppData\Local \Pub\Cache\hosted\pub.dev\wakelock_plus-1.1.4)
.
The error occurs due to the interface C:\Users\USER\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus_platform_interface-1.2.1
As far as I understand, in new versions of this wakelock_plus_platform_interface
the code has been updated, maybe methods and it calls from wakelock_plus-1.1.4
something that is no longer there, since it is designed for newer versions of wakelock_plus
(currently 1.2.5).
So, the way to solve the problem is as simple as possible. Update the library version from wakelock_plus: ^1.1.3
-> wakelock_plus: ^1.2.5
.
C:\Users\USER\AppData\Local\Pub\Cache\hosted\pub.dev\zego_uikit-2.22.2
dependencies:
flutter:
sdk: flutter
// others libraries in
wakelock_plus: ^1.2.5
It's strange that this version hasn't been updated yet. The solution to the problem is very unclear.
Maybe it's worth updating the dependencies in the zego_uikit_prebuilt_call library?
@yokawaiik, thanks. I did it and it solved my problem.
Why this library doesn't use updated dependencies?
will be updated soon.
now i blocked in other develop requirement
updated