diff --git a/ios/AppDelegate.swift b/ios/AppDelegate.swift index e5ed5151..1a753296 100644 --- a/ios/AppDelegate.swift +++ b/ios/AppDelegate.swift @@ -17,7 +17,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, RCTBridgeDelegate { static var shared: AppDelegate { return UIApplication.shared.delegate as! AppDelegate } - func sourceURL(for bridge: RCTBridge!) -> URL! { + func sourceURL(for bridge: RCTBridge) -> URL? { #if DEBUG return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index"); #else @@ -60,4 +60,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate, RCTBridgeDelegate { #endif #endif } -} \ No newline at end of file +} diff --git a/ios/Jellify/Info.plist b/ios/Jellify/Info.plist index d4549284..82c7aad4 100644 --- a/ios/Jellify/Info.plist +++ b/ios/Jellify/Info.plist @@ -68,6 +68,36 @@ Aileron-UltraLight.otf Aileron-Regular.otf + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + CPTemplateApplicationSceneSessionRoleApplication + + + UISceneClassName + CPTemplateApplicationScene + UISceneConfigurationName + CarPlay + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).CarSceneDelegate + + + UIWindowSceneSessionRoleApplication + + + UISceneClassName + UIWindowScene + UISceneConfigurationName + Phone + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).PhoneSceneDelegate + + + + UIBackgroundModes audio @@ -85,40 +115,11 @@ UISupportedInterfaceOrientations~ipad UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIViewControllerBasedStatusBarAppearance - UIApplicationSceneManifest - - UIApplicationSupportsMultipleScenes - - UISceneConfigurations - - CPTemplateApplicationSceneSessionRoleApplication - - - UISceneClassName - CPTemplateApplicationScene - UISceneConfigurationName - CarPlay - UISceneDelegateClassName - $(PRODUCT_MODULE_NAME).CarSceneDelegate - - - UIWindowSceneSessionRoleApplication - - - UISceneClassName - UIWindowScene - UISceneConfigurationName - Phone - UISceneDelegateClassName - $(PRODUCT_MODULE_NAME).PhoneSceneDelegate - - - -