react-native-macos 0.72.12 → 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.
Files changed (66) hide show
  1. package/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
  2. package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
  3. package/Libraries/Blob/React-RCTBlob.podspec +1 -1
  4. package/Libraries/Core/ReactNativeVersion.js +1 -1
  5. package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
  6. package/Libraries/Image/React-RCTImage.podspec +1 -1
  7. package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
  8. package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
  9. package/Libraries/Network/React-RCTNetwork.podspec +1 -1
  10. package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +33 -5
  11. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +0 -3
  12. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +181 -244
  13. package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
  14. package/Libraries/RCTRequired/RCTRequired.podspec +1 -1
  15. package/Libraries/Settings/React-RCTSettings.podspec +1 -1
  16. package/Libraries/Text/React-RCTText.podspec +1 -1
  17. package/Libraries/Text/Text/RCTTextView.m +22 -3
  18. package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
  19. package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
  20. package/React/Base/RCTUtils.m +16 -10
  21. package/React/Base/RCTVersion.m +1 -1
  22. package/React/CoreModules/RCTAlertController.m +1 -24
  23. package/React/CoreModules/RCTDevLoadingView.mm +7 -6
  24. package/React/CoreModules/React-CoreModules.podspec +1 -1
  25. package/React/FBReactNativeSpec/FBReactNativeSpec.podspec +1 -1
  26. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +26 -1
  27. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +1 -1
  28. package/React/React-RCTFabric.podspec +1 -1
  29. package/React/UIUtils/RCTUIUtils.m +1 -2
  30. package/React/Views/RCTViewManager.m +1 -1
  31. package/React-Core.podspec +1 -1
  32. package/React.podspec +1 -1
  33. package/ReactAndroid/gradle.properties +1 -1
  34. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  35. package/ReactCommon/React-Fabric.podspec +1 -1
  36. package/ReactCommon/React-rncore.podspec +1 -1
  37. package/ReactCommon/ReactCommon.podspec +1 -1
  38. package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
  39. package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
  40. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  41. package/ReactCommon/hermes/React-hermes.podspec +1 -1
  42. package/ReactCommon/jsc/React-jsc.podspec +1 -1
  43. package/ReactCommon/jsi/React-jsi.podspec +1 -1
  44. package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
  45. package/ReactCommon/jsinspector/React-jsinspector.podspec +1 -1
  46. package/ReactCommon/logger/React-logger.podspec +1 -1
  47. package/ReactCommon/react/debug/React-debug.podspec +1 -1
  48. package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
  49. package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
  50. package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
  51. package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
  52. package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
  53. package/ReactCommon/react/utils/React-utils.podspec +1 -1
  54. package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
  55. package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
  56. package/ReactCommon/yoga/Yoga.podspec +1 -1
  57. package/package.json +1 -1
  58. package/scripts/cocoapods/codegen_utils.rb +1 -4
  59. package/scripts/cocoapods/helpers.rb +5 -0
  60. package/scripts/cocoapods/utils.rb +2 -1
  61. package/scripts/react_native_pods.rb +12 -3
  62. package/template/package.json +1 -1
  63. package/third-party-podspecs/DoubleConversion.podspec +1 -1
  64. package/third-party-podspecs/RCT-Folly.podspec +1 -1
  65. package/third-party-podspecs/boost.podspec +3 -2
  66. 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.updateIphoneOSDeploymentTarget(installer)
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 min_ios_version_supported
43
- return Helpers::Constants.min_ios_version_supported
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.updateIphoneOSDeploymentTarget(installer)
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"
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "react": "18.2.0",
15
15
  "react-native-macos": "1000.0.0",
16
- "react-native": "0.72.12"
16
+ "react-native": "0.72.14"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.20.0",
@@ -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 = { :ios => "12.4", :osx => "10.15" } # [macOS]
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 = { :ios => "9.0", :osx => "10.15" } # [macOS]
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
- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
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 = { :ios => '11.0', :osx => "10.15" } # [macOS]
18
+ spec.platforms = min_supported_versions
18
19
  spec.requires_arc = false
19
20
 
20
21
  spec.module_name = 'boost'
@@ -33,6 +33,6 @@ Pod::Spec.new do |spec|
33
33
  "HEADER_SEARCH_PATHS" => "$(PODS_TARGET_SRCROOT)/src" }
34
34
 
35
35
  # Pinning to the same version as React.podspec.
36
- spec.platforms = { :ios => "12.4", :osx => "10.15" } # [macOS]
36
+ spec.platforms = min_supported_versions
37
37
 
38
38
  end