diff options
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 |
