|
|
|
@ -34,9 +34,9 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate {
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
void didChangeAppLifecycleState(AppLifecycleState? state) {
|
|
|
|
void didChangeAppLifecycleState(AppLifecycleState? state) {
|
|
|
|
Logs().v('AppLifecycleState = $state');
|
|
|
|
|
|
|
|
background = (state == AppLifecycleState.detached ||
|
|
|
|
background = (state == AppLifecycleState.detached ||
|
|
|
|
state == AppLifecycleState.paused);
|
|
|
|
state == AppLifecycleState.paused);
|
|
|
|
|
|
|
|
Logs().w('Set background mode in VOIP plugin', background);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void addCallingOverlay(String callId, CallSession call) {
|
|
|
|
void addCallingOverlay(String callId, CallSession call) {
|
|
|
|
|