Skip to content

Commit

Permalink
Merge pull request #65 from linhvovan29546/fix/app-crash-when-enable-…
Browse files Browse the repository at this point in the history
…new-architecture

fix: app crash when enable new architecture
  • Loading branch information
linhvovan29546 authored Nov 16, 2024
2 parents 5a873c8 + 4dadd50 commit ea6d99d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public void hideNotification() {
getReactApplicationContext().stopService(intent);
}

@ReactMethod
public static void sendEventToJs(String eventName, @Nullable WritableMap params) {
reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(eventName, params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ protected void onCreate(Bundle savedInstanceState) {
Fragment reactNativeFragment = new ReactFragment.Builder()
.setComponentName(mainComponent)
.setLaunchOptions(bundle)
.setFabricEnabled(false)
.build();

getSupportFragmentManager()
Expand Down

0 comments on commit ea6d99d

Please sign in to comment.