Explorar el Código

dep(react-native): update to 0.75.4

factor2
Calin-Teodor hace 7 meses
padre
commit
7ff78313ff

+ 1
- 0
.gitignore Ver fichero

@@ -38,6 +38,7 @@ DerivedData
38 38
 *.dSYM.zip
39 39
 *.xcuserstate
40 40
 project.xcworkspace
41
+**/.xcode.env.local
41 42
 
42 43
 # Android/IntelliJ
43 44
 #

+ 2
- 1
android/build.gradle Ver fichero

@@ -24,8 +24,9 @@ ext {
24 24
     targetSdkVersion = 34
25 25
     supportLibVersion = "28.0.0"
26 26
 
27
+    // NDK is now entirely compatible with Apple Silicon M1 and M2 Macs as of version 24.0.
27 28
     // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
28
-    ndkVersion = "23.1.7779620"
29
+    ndkVersion = "26.1.10909125"
29 30
 
30 31
     // The Maven artifact groupId of the third-party react-native modules which
31 32
     // Jitsi Meet SDK for Android depends on and which are not available in

+ 8
- 1
babel.config.js Ver fichero

@@ -5,5 +5,12 @@ module.exports = {
5 5
             plugins: [ 'react-native-paper/babel' ]
6 6
         }
7 7
     },
8
-    plugins: [ 'optional-require' ]
8
+
9
+    // This happens because react native has conflict with @babel/plugin-transform-private-methods plugin
10
+    // https://github.com/ethers-io/ethers.js/discussions/4309#discussioncomment-6694524
11
+    plugins: [ 'optional-require',
12
+        [ '@babel/plugin-transform-private-methods', {
13
+            'loose': true
14
+        } ]
15
+    ]
9 16
 };

+ 936
- 398
ios/Podfile.lock
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


ios/PrivacyInfo.xcprivacy → ios/app/PrivacyInfo.xcprivacy Ver fichero

@@ -17,6 +17,8 @@
17 17
 			<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18 18
 			<key>NSPrivacyAccessedAPITypeReasons</key>
19 19
 			<array>
20
+				<string>1C8F.1</string>
21
+				<string>C56D.1</string>
20 22
 				<string>CA92.1</string>
21 23
 			</array>
22 24
 		</dict>

+ 13
- 0
ios/app/app.xcodeproj/project.pbxproj Ver fichero

@@ -24,6 +24,7 @@
24 24
 		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
25 25
 		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
26 26
 		2681BB562C7A0B42CFBA6719 /* libPods-JitsiMeet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D6152FF9E9F7B0E86F70A21D /* libPods-JitsiMeet.a */; };
27
+		361974E2A13624D7735D619D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 5C1BE20ECD5DEEB48FED90B5 /* PrivacyInfo.xcprivacy */; };
27 28
 		4E90F9402632D1AB001102D4 /* Atomic.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4E90F93F2632D1AB001102D4 /* Atomic.swift */; };
28 29
 		4EB06024260E026600F524C5 /* ReplayKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4EC49B8625BED71300E76218 /* ReplayKit.framework */; };
29 30
 		4EB06027260E026600F524C5 /* SampleHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4EB06026260E026600F524C5 /* SampleHandler.swift */; };
@@ -151,6 +152,7 @@
151 152
 		4EB0603A260E09D000F524C5 /* DarwinNotificationCenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DarwinNotificationCenter.swift; sourceTree = "<group>"; };
152 153
 		4EB0603B260E09D000F524C5 /* SampleUploader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SampleUploader.swift; sourceTree = "<group>"; };
153 154
 		4EC49B8625BED71300E76218 /* ReplayKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ReplayKit.framework; path = System/Library/Frameworks/ReplayKit.framework; sourceTree = SDKROOT; };
155
+		5C1BE20ECD5DEEB48FED90B5 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
154 156
 		6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = ../PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
155 157
 		756FCE06C08D9B947653C98A /* Pods-JitsiMeet.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-JitsiMeet.debug.xcconfig"; path = "Target Support Files/Pods-JitsiMeet/Pods-JitsiMeet.debug.xcconfig"; sourceTree = "<group>"; };
156 158
 		B3B083EB1D4955FF0069CEE7 /* app.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = app.entitlements; sourceTree = "<group>"; };
@@ -295,6 +297,7 @@
295 297
 				4EB06025260E026600F524C5 /* JitsiMeetBroadcast Extension */,
296 298
 				CDD71F5E1157E9F283DF92A8 /* Pods */,
297 299
 				6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */,
300
+				5C1BE20ECD5DEEB48FED90B5 /* PrivacyInfo.xcprivacy */,
298 301
 			);
299 302
 			indentWidth = 2;
300 303
 			sourceTree = "<group>";
@@ -486,6 +489,7 @@
486 489
 				0B412F211EDEE95300B1A0A6 /* Main.storyboard in Resources */,
487 490
 				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
488 491
 				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
492
+				361974E2A13624D7735D619D /* PrivacyInfo.xcprivacy in Resources */,
489 493
 			);
490 494
 			runOnlyForDeploymentPostprocessing = 0;
491 495
 		};
@@ -1001,6 +1005,7 @@
1001 1005
 			isa = XCBuildConfiguration;
1002 1006
 			buildSettings = {
1003 1007
 				ALWAYS_SEARCH_USER_PATHS = NO;
1008
+				CC = "";
1004 1009
 				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
1005 1010
 				CLANG_CXX_LANGUAGE_STANDARD = "c++20";
1006 1011
 				CLANG_CXX_LIBRARY = "libc++";
@@ -1027,6 +1032,7 @@
1027 1032
 				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1028 1033
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1029 1034
 				COPY_PHASE_STRIP = NO;
1035
+				CXX = "";
1030 1036
 				ENABLE_STRICT_OBJC_MSGSEND = YES;
1031 1037
 				ENABLE_TESTABILITY = YES;
1032 1038
 				"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
@@ -1051,6 +1057,8 @@
1051 1057
 					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
1052 1058
 				);
1053 1059
 				IPHONEOS_DEPLOYMENT_TARGET = 15.1;
1060
+				LD = "";
1061
+				LDPLUSPLUS = "";
1054 1062
 				MTL_ENABLE_DEBUG_INFO = YES;
1055 1063
 				ONLY_ACTIVE_ARCH = YES;
1056 1064
 				OTHER_CFLAGS = "$(inherited)";
@@ -1058,6 +1066,7 @@
1058 1066
 				OTHER_LDFLAGS = "$(inherited)";
1059 1067
 				REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
1060 1068
 				SDKROOT = iphoneos;
1069
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
1061 1070
 				TARGETED_DEVICE_FAMILY = "1,2";
1062 1071
 				USE_HERMES = false;
1063 1072
 			};
@@ -1067,6 +1076,7 @@
1067 1076
 			isa = XCBuildConfiguration;
1068 1077
 			buildSettings = {
1069 1078
 				ALWAYS_SEARCH_USER_PATHS = NO;
1079
+				CC = "";
1070 1080
 				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
1071 1081
 				CLANG_CXX_LANGUAGE_STANDARD = "c++20";
1072 1082
 				CLANG_CXX_LIBRARY = "libc++";
@@ -1093,6 +1103,7 @@
1093 1103
 				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1094 1104
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1095 1105
 				COPY_PHASE_STRIP = YES;
1106
+				CXX = "";
1096 1107
 				ENABLE_NS_ASSERTIONS = NO;
1097 1108
 				ENABLE_STRICT_OBJC_MSGSEND = YES;
1098 1109
 				"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
@@ -1113,6 +1124,8 @@
1113 1124
 					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
1114 1125
 				);
1115 1126
 				IPHONEOS_DEPLOYMENT_TARGET = 15.1;
1127
+				LD = "";
1128
+				LDPLUSPLUS = "";
1116 1129
 				MTL_ENABLE_DEBUG_INFO = NO;
1117 1130
 				OTHER_CFLAGS = "$(inherited)";
1118 1131
 				OTHER_CPLUSPLUSFLAGS = "$(inherited)";

+ 9
- 0
ios/sdk/sdk.xcodeproj/project.pbxproj Ver fichero

@@ -727,6 +727,7 @@
727 727
 			isa = XCBuildConfiguration;
728 728
 			buildSettings = {
729 729
 				ALWAYS_SEARCH_USER_PATHS = NO;
730
+				CC = "";
730 731
 				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
731 732
 				CLANG_ANALYZER_NONNULL = YES;
732 733
 				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
@@ -757,6 +758,7 @@
757 758
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
758 759
 				COPY_PHASE_STRIP = NO;
759 760
 				CURRENT_PROJECT_VERSION = 1;
761
+				CXX = "";
760 762
 				DEBUG_INFORMATION_FORMAT = dwarf;
761 763
 				ENABLE_STRICT_OBJC_MSGSEND = YES;
762 764
 				ENABLE_TESTABILITY = YES;
@@ -777,6 +779,8 @@
777 779
 				GCC_WARN_UNUSED_FUNCTION = YES;
778 780
 				GCC_WARN_UNUSED_VARIABLE = YES;
779 781
 				IPHONEOS_DEPLOYMENT_TARGET = 15.1;
782
+				LD = "";
783
+				LDPLUSPLUS = "";
780 784
 				MTL_ENABLE_DEBUG_INFO = YES;
781 785
 				ONLY_ACTIVE_ARCH = YES;
782 786
 				OTHER_CFLAGS = "$(inherited)";
@@ -784,6 +788,7 @@
784 788
 				OTHER_LDFLAGS = "$(inherited)";
785 789
 				REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
786 790
 				SDKROOT = iphoneos;
791
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
787 792
 				TARGETED_DEVICE_FAMILY = "1,2";
788 793
 				USE_HERMES = false;
789 794
 				VERSIONING_SYSTEM = "apple-generic";
@@ -795,6 +800,7 @@
795 800
 			isa = XCBuildConfiguration;
796 801
 			buildSettings = {
797 802
 				ALWAYS_SEARCH_USER_PATHS = NO;
803
+				CC = "";
798 804
 				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
799 805
 				CLANG_ANALYZER_NONNULL = YES;
800 806
 				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
@@ -825,6 +831,7 @@
825 831
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
826 832
 				COPY_PHASE_STRIP = NO;
827 833
 				CURRENT_PROJECT_VERSION = 1;
834
+				CXX = "";
828 835
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
829 836
 				ENABLE_NS_ASSERTIONS = NO;
830 837
 				ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -842,6 +849,8 @@
842 849
 				GCC_WARN_UNUSED_FUNCTION = YES;
843 850
 				GCC_WARN_UNUSED_VARIABLE = YES;
844 851
 				IPHONEOS_DEPLOYMENT_TARGET = 15.1;
852
+				LD = "";
853
+				LDPLUSPLUS = "";
845 854
 				MTL_ENABLE_DEBUG_INFO = NO;
846 855
 				OTHER_CFLAGS = "$(inherited)";
847 856
 				OTHER_CPLUSPLUSFLAGS = "$(inherited)";

+ 2048
- 2263
package-lock.json
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 8
- 7
package.json Ver fichero

@@ -82,7 +82,7 @@
82 82
     "react-focus-on": "3.8.1",
83 83
     "react-i18next": "10.11.4",
84 84
     "react-linkify": "1.0.0-alpha",
85
-    "react-native": "0.73.8",
85
+    "react-native": "0.75.4",
86 86
     "react-native-background-timer": "2.4.1",
87 87
     "react-native-calendar-events": "2.2.0",
88 88
     "react-native-default-preference": "1.4.4",
@@ -127,13 +127,14 @@
127 127
     "zxcvbn": "4.4.2"
128 128
   },
129 129
   "devDependencies": {
130
-    "@babel/core": "7.24.7",
131
-    "@babel/eslint-parser": "7.24.7",
132
-    "@babel/plugin-proposal-export-default-from": "7.24.7",
133
-    "@babel/preset-env": "7.24.7",
134
-    "@babel/preset-react": "7.24.7",
130
+    "@babel/core": "7.25.9",
131
+    "@babel/eslint-parser": "7.25.9",
132
+    "@babel/plugin-proposal-export-default-from": "7.25.9",
133
+    "@babel/plugin-transform-private-methods": "7.25.9",
134
+    "@babel/preset-env": "7.25.9",
135
+    "@babel/preset-react": "7.25.9",
135 136
     "@jitsi/eslint-config": "4.1.10",
136
-    "@react-native/metro-config": "0.73.5",
137
+    "@react-native/metro-config": "0.75.4",
137 138
     "@types/amplitude-js": "8.16.5",
138 139
     "@types/audioworklet": "0.0.29",
139 140
     "@types/dom-screen-wake-lock": "1.0.1",

+ 0
- 55
patches/react-native+0.73.8.patch Ver fichero

@@ -1,55 +0,0 @@
1
-diff --git a/node_modules/react-native/React/CoreModules/RCTTiming.mm b/node_modules/react-native/React/CoreModules/RCTTiming.mm
2
-index e4f7e15..6f05fb3 100644
3
---- a/node_modules/react-native/React/CoreModules/RCTTiming.mm
4
-+++ b/node_modules/react-native/React/CoreModules/RCTTiming.mm
5
-@@ -127,13 +127,16 @@ RCT_EXPORT_MODULE()
6
- {
7
-   _paused = YES;
8
-   _timers = [NSMutableDictionary new];
9
--  _inBackground = NO;
10
--  RCTExecuteOnMainQueue(^{
11
--    if (!self->_inBackground && [RCTSharedApplication() applicationState] == UIApplicationStateBackground) {
12
--      [self appDidMoveToBackground];
13
--    }
14
-+
15
-+  __block BOOL initialInBackground;
16
-+  dispatch_sync(dispatch_get_main_queue(), ^{
17
-+      initialInBackground
18
-+        = [UIApplication sharedApplication].applicationState == UIApplicationStateBackground
19
-+          || [UIDevice currentDevice].proximityState;
20
-   });
21
-
22
-+  _inBackground = initialInBackground;
23
-+
24
-   for (NSString *name in @[
25
-          UIApplicationWillResignActiveNotification,
26
-          UIApplicationDidEnterBackgroundNotification,
27
-@@ -151,6 +154,11 @@ RCT_EXPORT_MODULE()
28
-                                                  name:name
29
-                                                object:nil];
30
-   }
31
-+
32
-+  [[NSNotificationCenter defaultCenter] addObserver:self
33
-+                                           selector:@selector(proximityChanged)
34
-+                                               name:UIDeviceProximityStateDidChangeNotification
35
-+                                             object:nil];
36
- }
37
-
38
- - (void)dealloc
39
-@@ -187,6 +195,16 @@ RCT_EXPORT_MODULE()
40
-   [self startTimers];
41
- }
42
-
43
-+- (void)proximityChanged
44
-+{
45
-+  BOOL isClose = [UIDevice currentDevice].proximityState;
46
-+  if (isClose) {
47
-+    [self appDidMoveToBackground];
48
-+  } else {
49
-+    [self appDidMoveToForeground];
50
-+  }
51
-+}
52
-+
53
- - (void)stopTimers
54
- {
55
-   if (_inBackground) {

Loading…
Cancelar
Guardar