Skip to content

Commit ea6d99d

Browse files
Merge pull request #65 from linhvovan29546/fix/app-crash-when-enable-new-architecture
fix: app crash when enable new architecture
2 parents 5a873c8 + 4dadd50 commit ea6d99d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

android/src/main/java/com/reactnativefullscreennotificationincomingcall/FullScreenNotificationIncomingCallModule.java

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public void hideNotification() {
8888
getReactApplicationContext().stopService(intent);
8989
}
9090

91-
@ReactMethod
9291
public static void sendEventToJs(String eventName, @Nullable WritableMap params) {
9392
reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(eventName, params);
9493
}

android/src/main/java/com/reactnativefullscreennotificationincomingcall/IncomingCallActivity.java

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ protected void onCreate(Bundle savedInstanceState) {
9797
Fragment reactNativeFragment = new ReactFragment.Builder()
9898
.setComponentName(mainComponent)
9999
.setLaunchOptions(bundle)
100-
.setFabricEnabled(false)
101100
.build();
102101

103102
getSupportFragmentManager()

0 commit comments

Comments
 (0)