expo-manifests 0.3.1 → 0.5.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 +20 -0
- package/android/build.gradle +4 -4
- package/android/src/main/java/expo/modules/manifests/core/Manifest.kt +4 -6
- package/ios/EXManifests/EXManifestsBaseManifest.h +1 -0
- package/ios/EXManifests/EXManifestsBaseManifest.m +16 -0
- package/ios/EXManifests/EXManifestsManifest.h +1 -0
- package/ios/EXManifests.podspec +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,26 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.5.0 — 2023-02-03
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- Switch default JS engine to Hermes. ([#21001](https://github.com/expo/expo/pull/21001) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
18
|
+
|
|
19
|
+
### 💡 Others
|
|
20
|
+
|
|
21
|
+
- On Android bump `compileSdkVersion` and `targetSdkVersion` to `33`. ([#20721](https://github.com/expo/expo/pull/20721) by [@lukmccall](https://github.com/lukmccall))
|
|
22
|
+
|
|
23
|
+
## 0.4.0 — 2022-10-25
|
|
24
|
+
|
|
25
|
+
### 🛠 Breaking changes
|
|
26
|
+
|
|
27
|
+
- Bumped iOS deployment target to 13.0 and deprecated support for iOS 12. ([#18873](https://github.com/expo/expo/pull/18873) by [@tsapeta](https://github.com/tsapeta))
|
|
28
|
+
|
|
29
|
+
### ⚠️ Notices
|
|
30
|
+
|
|
31
|
+
- Replace `getAndroidJsEngine` as `jsEngine` lazy kotlin property. ([#19116](https://github.com/expo/expo/pull/19116) by [@kudo](https://github.com/kudo))
|
|
32
|
+
|
|
13
33
|
## 0.3.1 — 2022-07-16
|
|
14
34
|
|
|
15
35
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '0.
|
|
6
|
+
version = '0.5.0'
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
9
9
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
@@ -59,7 +59,7 @@ afterEvaluate {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
android {
|
|
62
|
-
compileSdkVersion safeExtGet("compileSdkVersion",
|
|
62
|
+
compileSdkVersion safeExtGet("compileSdkVersion", 33)
|
|
63
63
|
|
|
64
64
|
compileOptions {
|
|
65
65
|
sourceCompatibility JavaVersion.VERSION_11
|
|
@@ -72,9 +72,9 @@ android {
|
|
|
72
72
|
|
|
73
73
|
defaultConfig {
|
|
74
74
|
minSdkVersion safeExtGet("minSdkVersion", 21)
|
|
75
|
-
targetSdkVersion safeExtGet("targetSdkVersion",
|
|
75
|
+
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
76
76
|
versionCode 31
|
|
77
|
-
versionName '0.
|
|
77
|
+
versionName '0.5.0'
|
|
78
78
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
79
79
|
}
|
|
80
80
|
lintOptions {
|
|
@@ -167,12 +167,10 @@ abstract class Manifest(protected val json: JSONObject) {
|
|
|
167
167
|
return expoClientConfig.getNullable("androidNavigationBar")
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
|
|
171
|
-
val expoClientConfig = getExpoClientConfigRootObject()
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
.getNullable<JSONObject>("android")?.getNullable<String>("jsEngine")
|
|
175
|
-
return androidJsEngine ?: sharedJsEngine
|
|
170
|
+
val jsEngine: String by lazy {
|
|
171
|
+
val expoClientConfig = getExpoClientConfigRootObject()
|
|
172
|
+
expoClientConfig
|
|
173
|
+
?.getNullable<JSONObject>("android")?.getNullable<String>("jsEngine") ?: expoClientConfig?.getNullable<String>("jsEngine") ?: "hermes"
|
|
176
174
|
}
|
|
177
175
|
|
|
178
176
|
fun getIconUrl(): String? {
|
|
@@ -152,6 +152,22 @@
|
|
|
152
152
|
return enabledNumber != nil && [enabledNumber boolValue];
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
- (NSString *)jsEngine {
|
|
156
|
+
NSString *result = nil;
|
|
157
|
+
NSDictionary *expoClientConfig = self.expoClientConfigRootObject;
|
|
158
|
+
if (expoClientConfig) {
|
|
159
|
+
result = [[self class] getStringFromManifest:expoClientConfig
|
|
160
|
+
paths:@[
|
|
161
|
+
@[@"ios", @"jsEngine"],
|
|
162
|
+
@[@"jsEngine"],
|
|
163
|
+
]];
|
|
164
|
+
}
|
|
165
|
+
if (!result) {
|
|
166
|
+
result = @"hermes";
|
|
167
|
+
}
|
|
168
|
+
return result;
|
|
169
|
+
}
|
|
170
|
+
|
|
155
171
|
# pragma mark - Derived Methods
|
|
156
172
|
|
|
157
173
|
- (BOOL)isDevelopmentMode {
|
package/ios/EXManifests.podspec
CHANGED
|
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
|
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.homepage = package['homepage']
|
|
13
|
-
s.platform = :ios, '
|
|
13
|
+
s.platform = :ios, '13.0'
|
|
14
14
|
s.source = { git: 'https://github.com/expo/expo.git' }
|
|
15
15
|
s.static_framework = true
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-manifests",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Code to parse and use Expo and Expo Updates manifests.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://docs.expo.dev/versions/latest/sdk/module-template",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"expo-json-utils": "~0.
|
|
23
|
+
"expo-json-utils": "~0.5.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "1815e2eaad8c753588c7b1eb74420174a28e01f4"
|
|
26
26
|
}
|