Skip to content

Commit 69a2a8c

Browse files
authored
Make visionos optional (#812)
* Make visionos optional Resolves #804 by only specifying a visionos deployment target if visionos is supported by the user's cocoapods version. * Update version Changes: optional visionos support
1 parent 58ea23a commit 69a2a8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-config",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "Expose config variables to React Native apps",
55
"keywords": [
66
"env",

react-native-config.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.ios.deployment_target = '9.0'
1717
s.tvos.deployment_target = '9.0'
1818
s.macos.deployment_target = '10.15'
19-
s.visionos.deployment_target = '1.0'
19+
s.visionos.deployment_target = '1.0' if s.respond_to?(:visionos)
2020

2121
s.source = { git: 'https://github.com/luggit/react-native-config.git', tag: "v#{s.version.to_s}" }
2222
s.script_phase = {

0 commit comments

Comments
 (0)