diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-10-25 13:38:53 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-10-25 13:38:53 +0530 |
| commit | 315c90081ab2596d9bc87a73254946ef992f9f61 (patch) | |
| tree | 16397e72fba4fef726fec38d174eadc183c27795 /ios/OwynLauncherRewrite/AppDelegate.mm | |
| parent | 95e4f3b1c1774aeab4fda1df1896ac86d3d36c47 (diff) | |
| download | daft-launcher-315c90081ab2596d9bc87a73254946ef992f9f61.tar.gz daft-launcher-315c90081ab2596d9bc87a73254946ef992f9f61.zip | |
Diffstat (limited to 'ios/OwynLauncherRewrite/AppDelegate.mm')
| -rw-r--r-- | ios/OwynLauncherRewrite/AppDelegate.mm | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/ios/OwynLauncherRewrite/AppDelegate.mm b/ios/OwynLauncherRewrite/AppDelegate.mm deleted file mode 100644 index 8c3a5ca..0000000 --- a/ios/OwynLauncherRewrite/AppDelegate.mm +++ /dev/null @@ -1,31 +0,0 @@ -#import "AppDelegate.h" - -#import <React/RCTBundleURLProvider.h> - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - self.moduleName = @"OwynLauncherRewrite"; - // You can add your custom initial props in the dictionary below. - // They will be passed down to the ViewController used by React Native. - self.initialProps = @{}; - - return [super application:application didFinishLaunchingWithOptions:launchOptions]; -} - -- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge -{ - return [self bundleURL]; -} - -- (NSURL *)bundleURL -{ -#if DEBUG - return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"]; -#else - return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; -#endif -} - -@end |
