Browse Source

fix(patch) remove unneeded hunks from RN patch

j8
Saúl Ibarra Corretgé 3 years ago
parent
commit
0fcdb6f248
1 changed files with 2 additions and 22 deletions
  1. 2
    22
      patches/react-native+0.61.5-jitsi.2.patch

+ 2
- 22
patches/react-native+0.61.5-jitsi.2.patch View File

@@ -5,25 +5,12 @@ index bd48f44..d243ed0 100644
5 5
 @@ -767,7 +767,7 @@ - (void)registerExtraLazyModules
6 6
  #endif
7 7
  }
8
- 
8
+
9 9
 -- (NSArray<RCTModuleData *> *)_initializeModules:(NSArray<id<RCTBridgeModule>> *)modules
10 10
 +- (NSArray<RCTModuleData *> *)_initializeModules:(NSArray<Class> *)modules
11 11
                                 withDispatchGroup:(dispatch_group_t)dispatchGroup
12 12
                                  lazilyDiscovered:(BOOL)lazilyDiscovered
13 13
  {
14
-diff --git a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoModule.java b/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoModule.java
15
-index ef2ae93..2795802 100644
16
---- a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoModule.java
17
-+++ b/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoModule.java
18
-@@ -92,7 +92,7 @@ public class AndroidInfoModule extends ReactContextBaseJavaModule implements Tur
19
- 
20
-   private Boolean isRunningScreenshotTest() {
21
-     try {
22
--      Class.forName("android.support.test.rule.ActivityTestRule");
23
-+      Class.forName("androidx.test.rule.ActivityTestRule");
24
-       return true;
25
-     } catch (ClassNotFoundException ignored) {
26
-       return false;
27 14
 diff --git a/node_modules/react-native/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm b/node_modules/react-native/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm
28 15
 index 3cb73b5..e4a14b4 100644
29 16
 --- a/node_modules/react-native/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm
@@ -36,11 +23,4 @@ index 3cb73b5..e4a14b4 100644
36 23
 +          RCTBridgeModuleNameForClass(Class(module)));
37 24
      }
38 25
    }
39
- 
40
-diff --git a/node_modules/react-native/scripts/.packager.env b/node_modules/react-native/scripts/.packager.env
41
-new file mode 100644
42
-index 0000000..361f5fb
43
---- /dev/null
44
-+++ b/node_modules/react-native/scripts/.packager.env
45
-@@ -0,0 +1 @@
46
-+export RCT_METRO_PORT=8081
26
+

Loading…
Cancel
Save