expo-updates 0.27.0 → 0.27.1
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,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
-
## 0.27.
|
|
13
|
+
## 0.27.1 — 2025-02-21
|
|
14
14
|
|
|
15
15
|
### 🎉 New features
|
|
16
16
|
|
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
- Fixed build error on iOS Expo Go. ([#34485](https://github.com/expo/expo/pull/34485) by [@kudo](https://github.com/kudo))
|
|
22
22
|
- Fixed Android unit test errors in BuilDataTest. ([#34510](https://github.com/expo/expo/pull/34510) by [@kudo](https://github.com/kudo))
|
|
23
23
|
|
|
24
|
+
## 0.26.19 — 2025-02-19
|
|
25
|
+
|
|
26
|
+
### 💡 Others
|
|
27
|
+
|
|
28
|
+
- Fixed incorrect error log on Android. ([#34785](https://github.com/expo/expo/pull/34785) by [@kudo](https://github.com/kudo))
|
|
29
|
+
|
|
30
|
+
## 0.26.18 — 2025-02-12
|
|
31
|
+
|
|
32
|
+
### 🐛 Bug fixes
|
|
33
|
+
|
|
34
|
+
- [Android] Fix `bytesToHex` `ArrayIndexOutOfBoundsException` during conversion. ([#34855](https://github.com/expo/expo/pull/34855) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
35
|
+
|
|
24
36
|
## 0.26.17 — 2025-02-06
|
|
25
37
|
|
|
26
38
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -16,7 +16,7 @@ apply plugin: 'com.android.library'
|
|
|
16
16
|
apply plugin: 'com.google.devtools.ksp'
|
|
17
17
|
|
|
18
18
|
group = 'host.exp.exponent'
|
|
19
|
-
version = '0.27.
|
|
19
|
+
version = '0.27.1'
|
|
20
20
|
|
|
21
21
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
22
22
|
apply from: expoModulesCorePlugin
|
|
@@ -63,7 +63,7 @@ android {
|
|
|
63
63
|
namespace "expo.modules.updates"
|
|
64
64
|
defaultConfig {
|
|
65
65
|
versionCode 31
|
|
66
|
-
versionName '0.27.
|
|
66
|
+
versionName '0.27.1'
|
|
67
67
|
consumerProguardFiles("proguard-rules.pro")
|
|
68
68
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
69
69
|
|
|
@@ -185,7 +185,7 @@ object UpdatesUtils {
|
|
|
185
185
|
fun bytesToHex(bytes: ByteArray): String {
|
|
186
186
|
val hexChars = CharArray(bytes.size * 2)
|
|
187
187
|
for (j in bytes.indices) {
|
|
188
|
-
val v =
|
|
188
|
+
val v = bytes[j].toInt() and 0xFF
|
|
189
189
|
hexChars[j * 2] = HEX_ARRAY[v ushr 4]
|
|
190
190
|
hexChars[j * 2 + 1] = HEX_ARRAY[v and 0x0F]
|
|
191
191
|
}
|
|
@@ -69,7 +69,7 @@ open class LoaderFiles {
|
|
|
69
69
|
context.resources.openRawResource(id)
|
|
70
70
|
.use { inputStream -> return UpdatesUtils.verifySHA256AndWriteToFile(inputStream, destination, null) }
|
|
71
71
|
} catch (e: Exception) {
|
|
72
|
-
Log.e(TAG, "Failed to copy asset
|
|
72
|
+
Log.e(TAG, "Failed to copy resource asset ${asset.resourcesFolder}/${asset.embeddedAssetFilename}", e)
|
|
73
73
|
throw e
|
|
74
74
|
}
|
|
75
75
|
}
|
package/e2e/setup/project.ts
CHANGED
|
@@ -312,10 +312,10 @@ async function preparePackageJson(
|
|
|
312
312
|
|
|
313
313
|
const extraDevDependencies = configureE2E
|
|
314
314
|
? {
|
|
315
|
-
'@config-plugins/detox': '^
|
|
315
|
+
'@config-plugins/detox': '^9.0.0',
|
|
316
316
|
'@types/express': '^4.17.17',
|
|
317
317
|
'@types/jest': '^29.4.0',
|
|
318
|
-
detox: '^20.
|
|
318
|
+
detox: '^20.33.0',
|
|
319
319
|
express: '^4.18.2',
|
|
320
320
|
'form-data': '^4.0.0',
|
|
321
321
|
jest: '^29.3.1',
|
|
@@ -458,7 +458,15 @@ function transformAppJsonForE2E(
|
|
|
458
458
|
runtimeVersion: string,
|
|
459
459
|
isTV: boolean
|
|
460
460
|
) {
|
|
461
|
-
const plugins: any[] = [
|
|
461
|
+
const plugins: any[] = [
|
|
462
|
+
'expo-updates',
|
|
463
|
+
[
|
|
464
|
+
'@config-plugins/detox',
|
|
465
|
+
{
|
|
466
|
+
subdomains: Array.from(new Set(['10.0.2.2', 'localhost', process.env.UPDATES_HOST])),
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
];
|
|
462
470
|
if (isTV) {
|
|
463
471
|
plugins.push([
|
|
464
472
|
'@react-native-tvos/config-tv',
|
|
@@ -574,7 +582,15 @@ export function transformAppJsonForUpdatesDisabledE2E(
|
|
|
574
582
|
projectName: string,
|
|
575
583
|
runtimeVersion: string
|
|
576
584
|
) {
|
|
577
|
-
const plugins: any[] = [
|
|
585
|
+
const plugins: any[] = [
|
|
586
|
+
'expo-updates',
|
|
587
|
+
[
|
|
588
|
+
'@config-plugins/detox',
|
|
589
|
+
{
|
|
590
|
+
subdomains: Array.from(new Set(['10.0.2.2', 'localhost', process.env.UPDATES_HOST])),
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
];
|
|
578
594
|
return {
|
|
579
595
|
...appJson,
|
|
580
596
|
expo: {
|
|
@@ -768,7 +784,7 @@ export async function initAsync(
|
|
|
768
784
|
// enable proguard on Android
|
|
769
785
|
await fs.appendFile(
|
|
770
786
|
path.join(projectRoot, 'android', 'gradle.properties'),
|
|
771
|
-
'\nandroid.enableProguardInReleaseBuilds=true\
|
|
787
|
+
'\nandroid.enableProguardInReleaseBuilds=true\nEXPO_UPDATES_NATIVE_DEBUG=true',
|
|
772
788
|
'utf-8'
|
|
773
789
|
);
|
|
774
790
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-updates",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@expo/code-signing-certificates": "0.0.5",
|
|
41
|
-
"@expo/config": "~10.0.
|
|
42
|
-
"@expo/config-plugins": "~9.0.
|
|
41
|
+
"@expo/config": "~10.0.10",
|
|
42
|
+
"@expo/config-plugins": "~9.0.16",
|
|
43
43
|
"@expo/spawn-async": "^1.7.2",
|
|
44
44
|
"arg": "4.1.0",
|
|
45
45
|
"chalk": "^4.1.2",
|
|
46
|
-
"expo-eas-client": "~0.13.
|
|
47
|
-
"expo-manifests": "~0.15.
|
|
46
|
+
"expo-eas-client": "~0.13.3",
|
|
47
|
+
"expo-manifests": "~0.15.7",
|
|
48
48
|
"expo-structured-headers": "~4.0.0",
|
|
49
49
|
"expo-updates-interface": "~1.0.0",
|
|
50
50
|
"fast-glob": "^3.3.2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@types/jest": "^29.2.1",
|
|
57
57
|
"@types/node": "^18.19.34",
|
|
58
58
|
"@types/node-forge": "^1.0.0",
|
|
59
|
-
"expo-module-scripts": "^4.0.
|
|
59
|
+
"expo-module-scripts": "^4.0.4",
|
|
60
60
|
"express": "^4.21.1",
|
|
61
61
|
"form-data": "^4.0.0",
|
|
62
62
|
"fs-extra": "~8.1.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"expo": "*",
|
|
68
68
|
"react": "*"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "50890a252047d8f4513d6859216229eee353fcb0"
|
|
71
71
|
}
|