Skip to content

Commit 180a8b2

Browse files
tgolenOSBotify
authored andcommitted
Merge pull request #51489 from software-mansion-labs/@wolewicki/revert-bridgeless
fix: revert bridgeless on Android (cherry picked from commit 2db49d4) (CP triggered by Beamanator)
1 parent b839e66 commit 180a8b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

android/app/src/main/java/com/expensify/chat/MainApplication.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class MainApplication : MultiDexApplication(), ReactApplication {
6464
SoLoader.init(this, /* native exopackage */false)
6565
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
6666
// If you opted-in for the New Architecture, we load the native entry point for this app.
67-
load()
67+
load(bridgelessEnabled = false)
6868
}
6969
if (BuildConfig.DEBUG) {
7070
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(false)
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
diff --git a/node_modules/@react-native-firebase/app/lib/internal/registry/nativeModule.js b/node_modules/@react-native-firebase/app/lib/internal/registry/nativeModule.js
2-
index 03f001c..23d467d 100644
2+
index 03f001c..358c795 100644
33
--- a/node_modules/@react-native-firebase/app/lib/internal/registry/nativeModule.js
44
+++ b/node_modules/@react-native-firebase/app/lib/internal/registry/nativeModule.js
55
@@ -65,7 +65,7 @@ function nativeModuleWrapped(namespace, NativeModule, argToPrepend) {
66
return NativeModule;
77
}
88

99
- const properties = Object.keys(NativeModule);
10-
+ const properties = Object.keys(Object.getPrototypeOf(NativeModule));
10+
+ const properties = [...Object.keys(Object.getPrototypeOf(NativeModule)), ...Object.keys(NativeModule)];
1111

1212
for (let i = 0, len = properties.length; i < len; i++) {
1313
const property = properties[i];

0 commit comments

Comments
 (0)