From f01348c28ae28bc791a3758ae3f1d19041eeb5e8 Mon Sep 17 00:00:00 2001 From: Gustavo Emanuel Farias Rosa Date: Thu, 16 Jun 2022 17:11:03 -0300 Subject: [PATCH] delegate missing to stop screen share work when app is closed (#43) Co-authored-by: Gustavo Emanuel --- ios/AppDelegate.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ios/AppDelegate.swift b/ios/AppDelegate.swift index 10053b8..23e2e5e 100644 --- a/ios/AppDelegate.swift +++ b/ios/AppDelegate.swift @@ -41,7 +41,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, RCTBridgeDelegate { return true } - + func applicationWillTerminate(_ application: UIApplication) { + BigBlueButtonSDK.onAppTerminated() + } func sourceURL(for bridge: RCTBridge!) -> URL! { //#if DEBUG