react-native-macos 0.73.7 → 0.73.8
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/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/utils.rb +2 -0
- package/scripts/react_native_pods.rb +1 -5
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -340,10 +340,12 @@ class ReactNativePodsUtils
|
|
|
340
340
|
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] :
|
|
341
341
|
Helpers::Constants.min_ios_version_supported
|
|
342
342
|
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_ios_version_supported.to_f, old_iphone_deploy_target.to_f].max.to_s
|
|
343
|
+
# [macOS
|
|
343
344
|
old_macos_deploy_target = config.build_settings["MACOSX_DEPLOYMENT_TARGET"] ?
|
|
344
345
|
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] :
|
|
345
346
|
Helpers::Constants.min_macos_version_supported
|
|
346
347
|
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_macos_version_supported.to_f, old_macos_deploy_target.to_f].max.to_s
|
|
348
|
+
# macOS]
|
|
347
349
|
end
|
|
348
350
|
end
|
|
349
351
|
end
|
|
@@ -47,15 +47,11 @@ def min_macos_version_supported
|
|
|
47
47
|
end
|
|
48
48
|
# macOS]
|
|
49
49
|
|
|
50
|
-
def min_supported_versions
|
|
51
|
-
return { :ios => min_ios_version_supported, :osx => min_macos_version_supported } # [macOS]
|
|
52
|
-
end
|
|
53
|
-
|
|
54
50
|
# This function returns the min supported OS versions supported by React Native
|
|
55
51
|
# By using this function, you won't have to manually change your Podfile
|
|
56
52
|
# when we change the minimum version supported by the framework.
|
|
57
53
|
def min_supported_versions
|
|
58
|
-
return { :ios => min_ios_version_supported, :osx =>
|
|
54
|
+
return { :ios => min_ios_version_supported, :osx => min_macos_version_supported} # [macOS]
|
|
59
55
|
end
|
|
60
56
|
|
|
61
57
|
# This function prepares the project for React Native, before processing
|