react-native-macos 0.72.13 → 0.72.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
- package/Libraries/Blob/React-RCTBlob.podspec +1 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
- package/Libraries/Image/React-RCTImage.podspec +1 -1
- package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
- package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
- package/Libraries/Network/React-RCTNetwork.podspec +1 -1
- package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +33 -5
- package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +0 -3
- package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +181 -244
- package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
- package/Libraries/RCTRequired/RCTRequired.podspec +1 -1
- package/Libraries/Settings/React-RCTSettings.podspec +1 -1
- package/Libraries/Text/React-RCTText.podspec +1 -1
- package/Libraries/Text/Text/RCTTextView.m +22 -3
- package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
- package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
- package/React/Base/RCTUtils.m +16 -10
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTAlertController.m +1 -24
- package/React/CoreModules/RCTDevLoadingView.mm +7 -6
- package/React/CoreModules/React-CoreModules.podspec +1 -1
- package/React/FBReactNativeSpec/FBReactNativeSpec.podspec +1 -1
- package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +26 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +1 -1
- package/React/React-RCTFabric.podspec +1 -1
- package/React/UIUtils/RCTUIUtils.m +1 -2
- package/React/Views/RCTViewManager.m +1 -1
- package/React-Core.podspec +1 -1
- package/React.podspec +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/React-Fabric.podspec +1 -1
- package/ReactCommon/React-rncore.podspec +1 -1
- package/ReactCommon/ReactCommon.podspec +1 -1
- package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/React-hermes.podspec +1 -1
- package/ReactCommon/jsc/React-jsc.podspec +1 -1
- package/ReactCommon/jsi/React-jsi.podspec +1 -1
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
- package/ReactCommon/jsinspector/React-jsinspector.podspec +1 -1
- package/ReactCommon/logger/React-logger.podspec +1 -1
- package/ReactCommon/react/debug/React-debug.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
- package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
- package/ReactCommon/react/utils/React-utils.podspec +1 -1
- package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
- package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
- package/ReactCommon/yoga/Yoga.podspec +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/codegen_utils.rb +1 -4
- package/scripts/cocoapods/helpers.rb +5 -0
- package/scripts/cocoapods/utils.rb +2 -1
- package/scripts/react_native_pods.rb +12 -3
- package/template/package.json +1 -1
- package/third-party-podspecs/DoubleConversion.podspec +1 -1
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/boost.podspec +3 -2
- package/third-party-podspecs/glog.podspec +1 -1
|
@@ -247,7 +247,7 @@ class ReactNativePodsUtils
|
|
|
247
247
|
end
|
|
248
248
|
end
|
|
249
249
|
|
|
250
|
-
def self.
|
|
250
|
+
def self.updateOSDeploymentTarget(installer)
|
|
251
251
|
pod_to_update = Set.new([
|
|
252
252
|
"boost",
|
|
253
253
|
"CocoaAsyncSocket",
|
|
@@ -274,6 +274,7 @@ class ReactNativePodsUtils
|
|
|
274
274
|
end
|
|
275
275
|
target_installation_result.native_target.build_configurations.each do |config|
|
|
276
276
|
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = Helpers::Constants.min_ios_version_supported
|
|
277
|
+
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] = Helpers::Constants.min_macos_version_supported # [macOS]
|
|
277
278
|
end
|
|
278
279
|
end
|
|
279
280
|
end
|
|
@@ -35,12 +35,21 @@ require Pod::Executable.execute_command('node', ['-p',
|
|
|
35
35
|
{paths: [process.argv[1]]},
|
|
36
36
|
)', __dir__]).strip
|
|
37
37
|
|
|
38
|
+
def min_ios_version_supported
|
|
39
|
+
return Helpers::Constants.min_ios_version_supported
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# [macOS
|
|
43
|
+
def min_macos_version_supported
|
|
44
|
+
return Helpers::Constants.min_macos_version_supported
|
|
45
|
+
end
|
|
46
|
+
# macOS]
|
|
38
47
|
|
|
39
48
|
# This function returns the min supported OS versions supported by React Native
|
|
40
49
|
# By using this function, you won't have to manually change your Podfile
|
|
41
50
|
# when we change the minimum version supported by the framework.
|
|
42
|
-
def
|
|
43
|
-
return
|
|
51
|
+
def min_supported_versions
|
|
52
|
+
return { :ios => min_ios_version_supported, :osx => min_macos_version_supported } # [macOS]
|
|
44
53
|
end
|
|
45
54
|
|
|
46
55
|
# This function prepares the project for React Native, before processing
|
|
@@ -247,7 +256,7 @@ def react_native_post_install(
|
|
|
247
256
|
ReactNativePodsUtils.set_node_modules_user_settings(installer, react_native_path)
|
|
248
257
|
ReactNativePodsUtils.apply_flags_for_fabric(installer, fabric_enabled: fabric_enabled)
|
|
249
258
|
ReactNativePodsUtils.apply_xcode_15_patch(installer)
|
|
250
|
-
ReactNativePodsUtils.
|
|
259
|
+
ReactNativePodsUtils.updateOSDeploymentTarget(installer)
|
|
251
260
|
|
|
252
261
|
NewArchitectureHelper.set_clang_cxx_language_standard_if_needed(installer)
|
|
253
262
|
is_new_arch_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == "1"
|
package/template/package.json
CHANGED
|
@@ -21,6 +21,6 @@ Pod::Spec.new do |spec|
|
|
|
21
21
|
spec.user_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/DoubleConversion\"" }
|
|
22
22
|
|
|
23
23
|
# Pinning to the same version as React.podspec.
|
|
24
|
-
spec.platforms =
|
|
24
|
+
spec.platforms = min_supported_versions
|
|
25
25
|
|
|
26
26
|
end
|
|
@@ -152,5 +152,5 @@ Pod::Spec.new do |spec|
|
|
|
152
152
|
|
|
153
153
|
# Folly has issues when compiled with iOS 10 set as deployment target
|
|
154
154
|
# See https://github.com/facebook/folly/issues/1470 for details
|
|
155
|
-
spec.platforms =
|
|
155
|
+
spec.platforms = min_supported_versions
|
|
156
156
|
end
|
|
@@ -10,11 +10,12 @@ Pod::Spec.new do |spec|
|
|
|
10
10
|
spec.homepage = 'http://www.boost.org'
|
|
11
11
|
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
|
|
12
12
|
spec.authors = 'Rene Rivera'
|
|
13
|
-
|
|
13
|
+
# [macOS] Workaround for https://github.com/facebook/react-native/issues/42180
|
|
14
|
+
spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
|
|
14
15
|
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
|
|
15
16
|
|
|
16
17
|
# Pinning to the same version as React.podspec.
|
|
17
|
-
spec.platforms =
|
|
18
|
+
spec.platforms = min_supported_versions
|
|
18
19
|
spec.requires_arc = false
|
|
19
20
|
|
|
20
21
|
spec.module_name = 'boost'
|