Skip to content

Commit

Permalink
feat: move min_visionos_version_supported to Helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Jan 11, 2024
1 parent 8f19fbc commit ad3e3d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/react-native/scripts/cocoapods/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ class Constants
def self.min_ios_version_supported
return '13.4'
end

def self.min_visionos_version_supported
return '1.0'
end

def self.folly_config
return {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def min_ios_version_supported
end

def min_visionos_version_supported
return '1.0'
return Helpers::Constants.min_visionos_version_supported
end

# This function returns the min supported OS versions supported by React Native
Expand Down

0 comments on commit ad3e3d4

Please sign in to comment.