react-native-macos 0.72.13 → 0.72.15
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/bridging/Base.h +2 -3
- package/ReactCommon/react/bridging/Function.h +7 -10
- package/ReactCommon/react/debug/React-debug.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +0 -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 +10 -0
- package/scripts/cocoapods/utils.rb +3 -1
- package/scripts/react_native_pods.rb +18 -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
- package/ReactCommon/butter/function.h +0 -51
|
@@ -27,7 +27,7 @@ Pod::Spec.new do |s|
|
|
|
27
27
|
s.homepage = "https://reactnative.dev/"
|
|
28
28
|
s.license = package["license"]
|
|
29
29
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
30
|
-
s.platforms =
|
|
30
|
+
s.platforms = min_supported_versions
|
|
31
31
|
s.source = source
|
|
32
32
|
s.source_files = "**/*.{cpp,h}"
|
|
33
33
|
s.header_dir = "reactperflogger"
|
|
@@ -27,7 +27,7 @@ Pod::Spec.new do |s|
|
|
|
27
27
|
s.homepage = "https://reactnative.dev/"
|
|
28
28
|
s.license = package["license"]
|
|
29
29
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
30
|
-
s.platforms =
|
|
30
|
+
s.platforms = min_supported_versions
|
|
31
31
|
s.source = source
|
|
32
32
|
s.source_files = "**/*.{cpp,h}"
|
|
33
33
|
s.header_dir = "ReactCommon"
|
|
@@ -43,7 +43,7 @@ Pod::Spec.new do |spec|
|
|
|
43
43
|
]
|
|
44
44
|
|
|
45
45
|
# Pinning to the same version as React.podspec.
|
|
46
|
-
spec.platforms =
|
|
46
|
+
spec.platforms = min_supported_versions
|
|
47
47
|
|
|
48
48
|
# Set this environment variable when *not* using the `:path` option to install the pod.
|
|
49
49
|
# E.g. when publishing this spec to a spec repo.
|
package/package.json
CHANGED
|
@@ -112,10 +112,7 @@ class CodegenUtils
|
|
|
112
112
|
'compiler_flags' => "#{folly_compiler_flags} #{boost_compiler_flags} -Wno-nullability-completeness -std=c++17",
|
|
113
113
|
'source' => { :git => '' },
|
|
114
114
|
'header_mappings_dir' => './',
|
|
115
|
-
'platforms' =>
|
|
116
|
-
'ios' => min_ios_version_supported,
|
|
117
|
-
'osx' => '10.15'
|
|
118
|
-
},
|
|
115
|
+
'platforms' => min_supported_versions,
|
|
119
116
|
'source_files' => "**/*.{h,mm,cpp}",
|
|
120
117
|
'pod_target_xcconfig' => {
|
|
121
118
|
"HEADER_SEARCH_PATHS" => header_search_paths.join(' '),
|
|
@@ -40,5 +40,15 @@ module Helpers
|
|
|
40
40
|
def self.min_ios_version_supported
|
|
41
41
|
return '12.4'
|
|
42
42
|
end
|
|
43
|
+
# [macOS
|
|
44
|
+
def self.min_macos_version_supported
|
|
45
|
+
return '10.15'
|
|
46
|
+
end
|
|
47
|
+
# macOS]
|
|
48
|
+
# [visionOS
|
|
49
|
+
def self.min_visionos_version_supported
|
|
50
|
+
return '1.0'
|
|
51
|
+
end
|
|
52
|
+
# visionOS]
|
|
43
53
|
end
|
|
44
54
|
end
|
|
@@ -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,8 @@ 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]
|
|
278
|
+
config.build_settings["XROS_DEPLOYMENT_TARGET"] = Helpers::Constants.min_visionos_version_supported # [visionOS]
|
|
277
279
|
end
|
|
278
280
|
end
|
|
279
281
|
end
|
|
@@ -35,12 +35,27 @@ 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]
|
|
47
|
+
|
|
48
|
+
# [visionOS
|
|
49
|
+
def min_visionos_version_supported
|
|
50
|
+
return Helpers::Constants.min_visionos_version_supported
|
|
51
|
+
end
|
|
52
|
+
# visionOS]
|
|
38
53
|
|
|
39
54
|
# This function returns the min supported OS versions supported by React Native
|
|
40
55
|
# By using this function, you won't have to manually change your Podfile
|
|
41
56
|
# when we change the minimum version supported by the framework.
|
|
42
|
-
def
|
|
43
|
-
return
|
|
57
|
+
def min_supported_versions
|
|
58
|
+
return { :ios => min_ios_version_supported, :osx => min_macos_version_supported, :visionos => min_visionos_version_supported } # [macOS] [visionOS]
|
|
44
59
|
end
|
|
45
60
|
|
|
46
61
|
# This function prepares the project for React Native, before processing
|
|
@@ -247,7 +262,7 @@ def react_native_post_install(
|
|
|
247
262
|
ReactNativePodsUtils.set_node_modules_user_settings(installer, react_native_path)
|
|
248
263
|
ReactNativePodsUtils.apply_flags_for_fabric(installer, fabric_enabled: fabric_enabled)
|
|
249
264
|
ReactNativePodsUtils.apply_xcode_15_patch(installer)
|
|
250
|
-
ReactNativePodsUtils.
|
|
265
|
+
ReactNativePodsUtils.updateOSDeploymentTarget(installer)
|
|
251
266
|
|
|
252
267
|
NewArchitectureHelper.set_clang_cxx_language_standard_if_needed(installer)
|
|
253
268
|
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'
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#pragma once
|
|
9
|
-
|
|
10
|
-
#include <butter/butter.h>
|
|
11
|
-
|
|
12
|
-
#if ( \
|
|
13
|
-
defined(BUTTER_FUNCTION_OVERRIDE_INCLUDE) && \
|
|
14
|
-
defined(BUTTER_FUNCTION_OVERRIDE))
|
|
15
|
-
|
|
16
|
-
#include BUTTER_FUNCTION_OVERRIDE_INCLUDE
|
|
17
|
-
|
|
18
|
-
#elif defined(BUTTER_USE_FOLLY_CONTAINERS)
|
|
19
|
-
|
|
20
|
-
#include <folly/Function.h>
|
|
21
|
-
|
|
22
|
-
#else
|
|
23
|
-
|
|
24
|
-
#include <functional>
|
|
25
|
-
|
|
26
|
-
#endif
|
|
27
|
-
|
|
28
|
-
namespace facebook {
|
|
29
|
-
namespace butter {
|
|
30
|
-
|
|
31
|
-
#if ( \
|
|
32
|
-
defined(BUTTER_FUNCTION_OVERRIDE_INCLUDE) && \
|
|
33
|
-
defined(BUTTER_FUNCTION_OVERRIDE))
|
|
34
|
-
|
|
35
|
-
template <typename... Ts>
|
|
36
|
-
using function = BUTTER_FUNCTION_OVERRIDE<Ts...>;
|
|
37
|
-
|
|
38
|
-
#elif defined(BUTTER_USE_FOLLY_CONTAINERS)
|
|
39
|
-
|
|
40
|
-
template <typename... Ts>
|
|
41
|
-
using function = folly::Function<Ts...>;
|
|
42
|
-
|
|
43
|
-
#else
|
|
44
|
-
|
|
45
|
-
template <typename... Ts>
|
|
46
|
-
using function = std::function<Ts...>;
|
|
47
|
-
|
|
48
|
-
#endif
|
|
49
|
-
|
|
50
|
-
} // namespace butter
|
|
51
|
-
} // namespace facebook
|