expo-manifests 1.0.0-canary-20241021-c4b5a93 → 1.0.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
|
@@ -4,16 +4,86 @@
|
|
|
4
4
|
|
|
5
5
|
### 🛠 Breaking changes
|
|
6
6
|
|
|
7
|
-
- Bumped iOS and tvOS deployment target to 15.1. ([#30840](https://github.com/expo/expo/pull/30840) by [@tsapeta](https://github.com/tsapeta))
|
|
8
|
-
|
|
9
7
|
### 🎉 New features
|
|
10
8
|
|
|
11
9
|
### 🐛 Bug fixes
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
### 💡 Others
|
|
12
|
+
|
|
13
|
+
## 1.0.0 — 2025-08-13
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- Add support for macOS. ([#37629](https://github.com/expo/expo/pull/37629) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
18
|
+
|
|
19
|
+
## 0.16.6 - 2025-07-03
|
|
20
|
+
|
|
21
|
+
_This version does not introduce any user-facing changes._
|
|
22
|
+
|
|
23
|
+
## 0.16.5 — 2025-05-08
|
|
24
|
+
|
|
25
|
+
_This version does not introduce any user-facing changes._
|
|
26
|
+
|
|
27
|
+
## 0.16.4 — 2025-04-30
|
|
28
|
+
|
|
29
|
+
_This version does not introduce any user-facing changes._
|
|
30
|
+
|
|
31
|
+
## 0.16.3 — 2025-04-25
|
|
32
|
+
|
|
33
|
+
_This version does not introduce any user-facing changes._
|
|
34
|
+
|
|
35
|
+
## 0.16.2 — 2025-04-22
|
|
36
|
+
|
|
37
|
+
_This version does not introduce any user-facing changes._
|
|
38
|
+
|
|
39
|
+
## 0.16.1 — 2025-04-14
|
|
40
|
+
|
|
41
|
+
_This version does not introduce any user-facing changes._
|
|
42
|
+
|
|
43
|
+
## 0.16.0 — 2025-04-04
|
|
14
44
|
|
|
15
45
|
### 💡 Others
|
|
16
46
|
|
|
47
|
+
- [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
|
|
48
|
+
|
|
49
|
+
## 0.15.7 - 2025-02-21
|
|
50
|
+
|
|
51
|
+
_This version does not introduce any user-facing changes._
|
|
52
|
+
|
|
53
|
+
## 0.15.6 - 2025-02-14
|
|
54
|
+
|
|
55
|
+
_This version does not introduce any user-facing changes._
|
|
56
|
+
|
|
57
|
+
## 0.15.5 - 2025-01-10
|
|
58
|
+
|
|
59
|
+
_This version does not introduce any user-facing changes._
|
|
60
|
+
|
|
61
|
+
## 0.15.4 — 2024-11-19
|
|
62
|
+
|
|
63
|
+
_This version does not introduce any user-facing changes._
|
|
64
|
+
|
|
65
|
+
## 0.15.3 — 2024-11-14
|
|
66
|
+
|
|
67
|
+
_This version does not introduce any user-facing changes._
|
|
68
|
+
|
|
69
|
+
## 0.15.2 — 2024-11-05
|
|
70
|
+
|
|
71
|
+
_This version does not introduce any user-facing changes._
|
|
72
|
+
|
|
73
|
+
## 0.15.1 — 2024-10-22
|
|
74
|
+
|
|
75
|
+
_This version does not introduce any user-facing changes._
|
|
76
|
+
|
|
77
|
+
## 0.15.0 — 2024-10-22
|
|
78
|
+
|
|
79
|
+
### 🛠 Breaking changes
|
|
80
|
+
|
|
81
|
+
- Bumped iOS and tvOS deployment target to 15.1. ([#30840](https://github.com/expo/expo/pull/30840) by [@tsapeta](https://github.com/tsapeta))
|
|
82
|
+
|
|
83
|
+
### 🐛 Bug fixes
|
|
84
|
+
|
|
85
|
+
- Only import from `expo/config` to follow proper dependency chains. ([#30501](https://github.com/expo/expo/pull/30501) by [@byCedric](https://github.com/byCedric))
|
|
86
|
+
|
|
17
87
|
## 0.14.3 — 2024-05-16
|
|
18
88
|
|
|
19
89
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
plugins {
|
|
2
|
+
id 'com.android.library'
|
|
3
|
+
id 'expo-module-gradle-plugin'
|
|
4
|
+
}
|
|
2
5
|
|
|
3
6
|
group = 'host.exp.exponent'
|
|
4
|
-
version = '0.
|
|
7
|
+
version = '1.0.0'
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
useCoreDependencies()
|
|
10
|
-
useDefaultAndroidSdkVersions()
|
|
11
|
-
useExpoPublishing()
|
|
9
|
+
expoModule {
|
|
10
|
+
canBePublished false
|
|
11
|
+
}
|
|
12
12
|
|
|
13
13
|
android {
|
|
14
14
|
namespace "expo.modules.manifests"
|
|
15
15
|
defaultConfig {
|
|
16
16
|
versionCode 31
|
|
17
|
-
versionName '0.
|
|
17
|
+
versionName '1.0.0'
|
|
18
18
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
19
19
|
}
|
|
20
20
|
testOptions {
|
|
@@ -91,7 +91,7 @@ abstract class Manifest(protected val json: JSONObject) {
|
|
|
91
91
|
abstract fun getSlug(): String?
|
|
92
92
|
|
|
93
93
|
fun getDebuggerHost(): String = getExpoGoConfigRootObject()!!.require("debuggerHost")
|
|
94
|
-
fun getMainModuleName(): String = getExpoGoConfigRootObject()
|
|
94
|
+
fun getMainModuleName(): String = getExpoGoConfigRootObject()?.require("mainModuleName") ?: "main"
|
|
95
95
|
fun getHostUri(): String? = getExpoClientConfigRootObject()?.getNullable("hostUri")
|
|
96
96
|
|
|
97
97
|
fun isVerified(): Boolean = json.getNullable("isVerified") ?: false
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
// swiftlint:disable unavailable_function
|
|
5
5
|
|
|
6
6
|
import Foundation
|
|
7
|
-
import UIKit
|
|
8
7
|
|
|
8
|
+
#if os(iOS) || os(tvOS)
|
|
9
|
+
import UIKit
|
|
10
|
+
#endif
|
|
9
11
|
/**
|
|
10
12
|
Uses objective-c NSExceptions for field validation. This is to maintain
|
|
11
13
|
backwards compatibility with the previous objective-c implementation so that we don't need to do
|
|
@@ -267,14 +269,24 @@ public class Manifest: NSObject {
|
|
|
267
269
|
}
|
|
268
270
|
}
|
|
269
271
|
|
|
272
|
+
public func iosAppIconUrl() -> String? {
|
|
273
|
+
return expoClientConfigRootObject().let { it in
|
|
274
|
+
Manifest.string(fromManifest: it, atPath: ["iconUrl"])
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
270
278
|
public func iosSplashImageUrl() -> String? {
|
|
279
|
+
var paths = [["ios", "splash", "imageUrl"], ["splash", "imageUrl"]]
|
|
280
|
+
#if os(iOS) || os(tvOS)
|
|
281
|
+
if UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad {
|
|
282
|
+
paths.insert(contentsOf: [
|
|
283
|
+
["ios", "splash", "tabletImageUrl"],
|
|
284
|
+
["splash", "tabletImageUrl"]
|
|
285
|
+
], at: 0)
|
|
286
|
+
}
|
|
287
|
+
#endif
|
|
271
288
|
return expoClientConfigRootObject().let { it in
|
|
272
|
-
Manifest.string(fromManifest: it, atPaths:
|
|
273
|
-
UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad
|
|
274
|
-
? ["ios", "splash", "tabletImageUrl"] : [],
|
|
275
|
-
["ios", "splash", "imageUrl"],
|
|
276
|
-
["splash", "imageUrl"]
|
|
277
|
-
])
|
|
289
|
+
Manifest.string(fromManifest: it, atPaths: paths)
|
|
278
290
|
}
|
|
279
291
|
}
|
|
280
292
|
|
package/ios/EXManifests.podspec
CHANGED
|
@@ -12,9 +12,10 @@ Pod::Spec.new do |s|
|
|
|
12
12
|
s.homepage = package['homepage']
|
|
13
13
|
s.platforms = {
|
|
14
14
|
:ios => '15.1',
|
|
15
|
-
:tvos => '15.1'
|
|
15
|
+
:tvos => '15.1',
|
|
16
|
+
:osx => '11.0'
|
|
16
17
|
}
|
|
17
|
-
s.swift_version = '5.
|
|
18
|
+
s.swift_version = '5.9'
|
|
18
19
|
s.source = { git: 'https://github.com/expo/expo.git' }
|
|
19
20
|
s.static_framework = true
|
|
20
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-manifests",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Code to parse and use Expo and Expo Updates manifests.",
|
|
5
5
|
"main": "build/Manifests.js",
|
|
6
6
|
"types": "build/Manifests.d.ts",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"preset": "expo-module-scripts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@expo/config": "
|
|
38
|
-
"expo-json-utils": "
|
|
37
|
+
"@expo/config": "~12.0.0",
|
|
38
|
+
"expo-json-utils": "~0.15.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"expo-module-scripts": "
|
|
41
|
+
"expo-module-scripts": "^5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"expo": "
|
|
44
|
+
"expo": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "cb7062e2c17d1fb09522834aaaac0e19b766df62"
|
|
47
47
|
}
|