Skip to content

Commit

Permalink
initalizeFlipper should be an instance method
Browse files Browse the repository at this point in the history
  • Loading branch information
safaiyeh authored Dec 19, 2019
1 parent a62062f commit f1c70f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template/ios/HelloWorld/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ @implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[self initializeFlipper:application];
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"HelloWorld"
Expand All @@ -50,7 +51,7 @@ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
#endif
}

+ (void) initializeFlipper:(UIApplication *)application
- (void) initializeFlipper:(UIApplication *)application
{
#if DEBUG
#ifdef FB_SONARKIT_ENABLED
Expand Down

0 comments on commit f1c70f2

Please sign in to comment.