chore: Better applifecycle logs
This commit is contained in:
parent
cfc161b252
commit
a5a1c9b580
2 changed files with 2 additions and 1 deletions
|
|
@ -34,9 +34,9 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate {
|
|||
|
||||
@override
|
||||
void didChangeAppLifecycleState(AppLifecycleState? state) {
|
||||
Logs().v('AppLifecycleState = $state');
|
||||
background = (state == AppLifecycleState.detached ||
|
||||
state == AppLifecycleState.paused);
|
||||
Logs().w('Set background mode in VOIP plugin', background);
|
||||
}
|
||||
|
||||
void addCallingOverlay(String callId, CallSession call) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue