Hey @hectorcastillomendoz,
I am happy to hear the button is now showing. To make sure I am understanding correctly, when you leave the app the screensharing freezes? If so, can you add background modes to your target? Specifically the “Audio, Airplay, and Picture in Picture” mode. Also verify that you have added the MobileRTC AppDelegate callbacks in your AppDelegate:
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
func applicationWillTerminate(_ application: UIApplication) {
MobileRTC.shared().appWillTerminate()
}
func applicationDidBecomeActive(_ application: UIApplication) {
MobileRTC.shared().appDidBecomeActive()
}
func applicationWillResignActive(_ application: UIApplication) {
MobileRTC.shared().appWillResignActive()
}
func applicationDidEnterBackground(_ application: UIApplication) {
MobileRTC.shared().appDidEnterBackgroud()
}
}
Thanks!
Michael