|
|
@ -36,7 +36,6 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate {
|
|
|
|
void didChangeAppLifecycleState(AppLifecycleState? state) {
|
|
|
|
void didChangeAppLifecycleState(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) {
|
|
|
|