expo-constants 17.0.7 → 17.0.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/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 17.0.8 — 2025-03-11
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [iOS] Fix pod install in older CocoaPods versions ([#35181](https://github.com/expo/expo/pull/35181) by [@gabrieldonadel](https://github.com/gabrieldonadel))
18
+
13
19
  ## 17.0.7 — 2025-02-19
14
20
 
15
21
  _This version does not introduce any user-facing changes._
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '17.0.7'
4
+ version = '17.0.8'
5
5
 
6
6
  apply from: "../scripts/get-app-config-android.gradle"
7
7
 
@@ -16,7 +16,7 @@ android {
16
16
  namespace "expo.modules.constants"
17
17
  defaultConfig {
18
18
  versionCode 33
19
- versionName "17.0.7"
19
+ versionName "17.0.8"
20
20
  }
21
21
  }
22
22
 
@@ -34,13 +34,17 @@ Pod::Spec.new do |s|
34
34
  s.source_files = "**/*.{h,m,swift}"
35
35
  end
36
36
 
37
- s.script_phase = {
37
+ script_phase = {
38
38
  :name => 'Generate app.config for prebuilt Constants.manifest',
39
39
  :script => 'bash -l -c "$PODS_TARGET_SRCROOT/../scripts/get-app-config-ios.sh"',
40
- :execution_position => :before_compile,
41
- # always run the script without warning
42
- :always_out_of_date => "1"
40
+ :execution_position => :before_compile
43
41
  }
42
+ # :always_out_of_date is only available in CocoaPods 1.13.0 and later
43
+ if Gem::Version.new(Pod::VERSION) >= Gem::Version.new('1.13.0')
44
+ # always run the script without warning
45
+ script_phase[:always_out_of_date] = "1"
46
+ end
47
+ s.script_phase = script_phase
44
48
 
45
49
  # Generate EXConstants.bundle without existing resources
46
50
  # `get-app-config-ios.sh` will generate app.config in EXConstants.bundle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-constants",
3
- "version": "17.0.7",
3
+ "version": "17.0.8",
4
4
  "description": "Provides system information that remains constant throughout the lifetime of your app.",
5
5
  "main": "build/Constants.js",
6
6
  "types": "build/Constants.d.ts",
@@ -42,7 +42,7 @@
42
42
  "preset": "expo-module-scripts"
43
43
  },
44
44
  "dependencies": {
45
- "@expo/config": "~10.0.10",
45
+ "@expo/config": "~10.0.11",
46
46
  "@expo/env": "~0.4.2"
47
47
  },
48
48
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  "expo": "*",
53
53
  "react-native": "*"
54
54
  },
55
- "gitHead": "c01c449a1d6e6e8690bfcc88a778b46781a59674"
55
+ "gitHead": "1992dd3ba012ec59a646e383b9895ea6b577948b"
56
56
  }