Skip to content

Commit

Permalink
[templates][bare] fix expo-updates installation compatibility with Fl…
Browse files Browse the repository at this point in the history
…ipper on Android
  • Loading branch information
esamelson committed Jun 27, 2020
1 parent 0acdc74 commit 6e75e8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@ public ReactNativeHost getReactNativeHost() {
public void onCreate() {
super.onCreate();
SoLoader.init(this, /* native exopackage */ false);
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());

if (!BuildConfig.DEBUG) {
UpdatesController.initialize(this);
}

initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@ public ReactNativeHost getReactNativeHost() {
public void onCreate() {
super.onCreate();
SoLoader.init(this, /* native exopackage */ false);
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());

if (!BuildConfig.DEBUG) {
UpdatesController.initialize(this);
}

initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}

/**
Expand Down

0 comments on commit 6e75e8f

Please sign in to comment.