about summary refs log tree commit diff
path: root/ios/app/AppDelegate.mm
diff options
context:
space:
mode:
Diffstat (limited to 'ios/app/AppDelegate.mm')
-rw-r--r--ios/app/AppDelegate.mm62
1 files changed, 0 insertions, 62 deletions
diff --git a/ios/app/AppDelegate.mm b/ios/app/AppDelegate.mm
deleted file mode 100644
index 09aad895f..000000000
--- a/ios/app/AppDelegate.mm
+++ /dev/null
@@ -1,62 +0,0 @@
-#import "AppDelegate.h"
-
-#import <React/RCTBundleURLProvider.h>
-
-// universal links
-#import <React/RCTLinkingManager.h>
-
-// splash screen
-#import "RNSplashScreen.h"
-
-#import <TSBackgroundFetch/TSBackgroundFetch.h>
-
-@implementation AppDelegate
-
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
-{
-  // Show the splash screen
-  // [RNSplashScreen show]; 
-  
-  // Register BackgroundFetch
-  [[TSBackgroundFetch sharedInstance] didFinishLaunching];
-
-  self.moduleName = @"xyz.blueskyweb.app";
-  self.initialProps = @{};
-  return [super application:application didFinishLaunchingWithOptions:launchOptions];
-}
-
-- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
-{
-#if DEBUG
-  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
-#else
-  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
-#endif
-}
-
-/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
-///
-/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
-/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
-/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
-- (BOOL)concurrentRootEnabled
-{
-  return true;
-}
-
-// universal links
-- (BOOL)application:(UIApplication *)application
-  openURL:(NSURL *)url
-  options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
-{
-  return [RCTLinkingManager application:application openURL:url options:options];
-}
-
-- (BOOL)application:(UIApplication *)application
-  continueUserActivity:(nonnull NSUserActivity *)userActivity
-  restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
-{
-  return [RCTLinkingManager application:application continueUserActivity:userActivity restorationHandler:restorationHandler];
-}
-
-@end