Skip to content
Permalink
Browse files
initalizeFlipper should be set in template app by default (#27569)
Summary:
Issue: #27565

initalizeFlipper should be set in template app by default.

## Changelog

[iOS] [Changed] - Added Flipper to template app
[Android] [Changed] - Added Flipper to template app
Pull Request resolved: #27569

Test Plan:
Connect Flipper to the iOS application
Connect Flipper to the Android application

Reviewed By: passy

Differential Revision: D19344704

Pulled By: rickhanlonii

fbshipit-source-id: ca126fd2caab13751ddc2ce6d195bd0c644c704e
  • Loading branch information
safaiyeh authored and facebook-github-bot committed Jan 30, 2020
1 parent 3c71160 commit 52cd9cd6fec0866177aa02f7129a8b3d8b2bdbea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -44,6 +44,7 @@ public ReactNativeHost getReactNativeHost() {
public void onCreate() {
super.onCreate();
SoLoader.init(this, /* native exopackage */ false);
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}

/**
@@ -19,6 +19,7 @@ @implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[AppDelegate initializeFlipper:application];
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"HelloWorld"

0 comments on commit 52cd9cd

Please sign in to comment.