expo-constants 17.0.7 → 17.1.0

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,21 +10,36 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
- ## 17.0.7 — 2025-02-19
13
+ ## 17.1.0 — 2025-04-04
14
14
 
15
- _This version does not introduce any user-facing changes._
15
+ ### 🛠 Breaking changes
16
16
 
17
- ## 17.0.6 2025-02-14
17
+ - Bump minimum macOS version to 11.0. ([#34980](https://github.com/expo/expo/pull/34980) by [@gabrieldonadel](https://github.com/gabrieldonadel))
18
18
 
19
- _This version does not introduce any user-facing changes._
19
+ ### 🐛 Bug fixes
20
20
 
21
- ## 17.0.5 2025-01-27
21
+ - Add missing types to package exports ([#35223](https://github.com/expo/expo/pull/35223) by [@timostroehlein](https://github.com/timostroehlein))
22
22
 
23
- ### 🐛 Bug fixes
23
+ ### 💡 Others
24
24
 
25
25
  - [android][ios] Updated Gradle build and Podspec files to ensure app.json/app.config.js values are correctly updated during each native build. ([#34228](https://github.com/expo/expo/pull/34228) by [@chrfalch](https://github.com/chrfalch))
26
+ - [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
27
+
28
+ ## 17.0.8 - 2025-03-11
29
+
30
+ ### 🐛 Bug fixes
31
+
32
+ - [iOS] Fix pod install in older CocoaPods versions ([#35181](https://github.com/expo/expo/pull/35181) by [@gabrieldonadel](https://github.com/gabrieldonadel))
33
+
34
+ ## 17.0.7 - 2025-02-19
35
+
36
+ _This version does not introduce any user-facing changes._
37
+
38
+ ## 17.0.6 - 2025-02-14
39
+
40
+ _This version does not introduce any user-facing changes._
26
41
 
27
- ## 17.0.4 2025-01-10
42
+ ## 17.0.4 - 2025-01-10
28
43
 
29
44
  _This version does not introduce any user-facing changes._
30
45
 
@@ -1,22 +1,23 @@
1
- apply plugin: 'com.android.library'
2
-
3
- group = 'host.exp.exponent'
4
- version = '17.0.7'
1
+ plugins {
2
+ id 'com.android.library'
3
+ id 'expo-module-gradle-plugin'
4
+ }
5
5
 
6
6
  apply from: "../scripts/get-app-config-android.gradle"
7
7
 
8
- def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
- apply from: expoModulesCorePlugin
10
- applyKotlinExpoModulesCorePlugin()
11
- useCoreDependencies()
12
- useDefaultAndroidSdkVersions()
13
- useExpoPublishing()
8
+ group = 'host.exp.exponent'
9
+ version = '17.1.0'
10
+
11
+ expoModule {
12
+ // We can't prebuild the module because we need to apply `get-app-config-android.gradle` script.
13
+ canBePublished false
14
+ }
14
15
 
15
16
  android {
16
17
  namespace "expo.modules.constants"
17
18
  defaultConfig {
18
19
  versionCode 33
19
- versionName "17.0.7"
20
+ versionName "17.1.0"
20
21
  }
21
22
  }
22
23
 
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12
12
  s.homepage = package['homepage']
13
13
  s.platforms = {
14
14
  :ios => '15.1',
15
- :osx => '10.15',
15
+ :osx => '11.0',
16
16
  :tvos => '15.1'
17
17
  }
18
18
  s.swift_version = '5.4'
@@ -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.1.0",
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",
@@ -8,6 +8,7 @@
8
8
  "exports": {
9
9
  "./package.json": "./package.json",
10
10
  ".": {
11
+ "types": "./build/Constants.d.ts",
11
12
  "react-server": "./build/Constants.server.js",
12
13
  "default": "./build/Constants.js"
13
14
  }
@@ -42,15 +43,15 @@
42
43
  "preset": "expo-module-scripts"
43
44
  },
44
45
  "dependencies": {
45
- "@expo/config": "~10.0.10",
46
- "@expo/env": "~0.4.2"
46
+ "@expo/config": "~11.0.0",
47
+ "@expo/env": "~1.0.0"
47
48
  },
48
49
  "devDependencies": {
49
- "expo-module-scripts": "^4.0.4"
50
+ "expo-module-scripts": "^4.1.0"
50
51
  },
51
52
  "peerDependencies": {
52
53
  "expo": "*",
53
54
  "react-native": "*"
54
55
  },
55
- "gitHead": "c01c449a1d6e6e8690bfcc88a778b46781a59674"
56
+ "gitHead": "68b8233002dc678934ba40cbade7fbc80e71aeff"
56
57
  }