You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have removed all 3 permissions (camera, microphone, systemAlertWindow) in ZegoCallInvitationConfig when init. And handling camera and microphone permissions in onIncomingCallAcceptButtonPressed so that when call is accepted, it takes permission instead of during init of ZegoUIKitPrebuiltCallInvitationService, for better user experience.
Now After this video call works fine when App is kept in foreground or terminated state but when kept in Background state, and on accepting call from notification, App does't open by itself. Although if i explicitly open app, video call works fine but app should open by itself when call is accepted.
Also if i take systemAlertWindow permission initially, it will work fine (for android only). But i don't want to take permissions initially and how systemAlertWindow is affecting this behavious is not clear to me.
i have tried Native methods as well in onIncomingCallAcceptButtonPressed to bring app in foreground state but none of them worked.
Expected behavior:
when permission aren't taken initially and video call is accepted from notification when app is in background state, it should automatically come to foreground state.
Current behavior:
App is not coming to foreground state, when video call is accepted from notification and app is in background state.
Steps to reproduce
Remove all permission taken intially (camera, microphone, systemAlertWindow) from ZegoCallInvitationConfig of config in init of ZegoUIKitPrebuiltCallInvitationService.
Keep app in background state.
Video call notification comes and accpeted.
It not open app (bring to foreground state)
The text was updated successfully, but these errors were encountered:
Environment
Device information:
Android - POCO X5 (model - 22111317PI)
iOS - iPhone 13 (model - MLPK3HN/A)
Description
I have removed all 3 permissions (camera, microphone, systemAlertWindow) in ZegoCallInvitationConfig when init. And handling camera and microphone permissions in onIncomingCallAcceptButtonPressed so that when call is accepted, it takes permission instead of during init of ZegoUIKitPrebuiltCallInvitationService, for better user experience.
Now After this video call works fine when App is kept in foreground or terminated state but when kept in Background state, and on accepting call from notification, App does't open by itself. Although if i explicitly open app, video call works fine but app should open by itself when call is accepted.
Also if i take systemAlertWindow permission initially, it will work fine (for android only). But i don't want to take permissions initially and how systemAlertWindow is affecting this behavious is not clear to me.
i have tried Native methods as well in onIncomingCallAcceptButtonPressed to bring app in foreground state but none of them worked.
Expected behavior:
when permission aren't taken initially and video call is accepted from notification when app is in background state, it should automatically come to foreground state.
Current behavior:
App is not coming to foreground state, when video call is accepted from notification and app is in background state.
Steps to reproduce
The text was updated successfully, but these errors were encountered: