expo-updates 0.26.17 → 0.26.19
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,18 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.26.19 — 2025-02-19
|
|
14
|
+
|
|
15
|
+
### 💡 Others
|
|
16
|
+
|
|
17
|
+
- Fixed incorrect error log on Android. ([#34785](https://github.com/expo/expo/pull/34785) by [@kudo](https://github.com/kudo))
|
|
18
|
+
|
|
19
|
+
## 0.26.18 — 2025-02-12
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- [Android] Fix `bytesToHex` `ArrayIndexOutOfBoundsException` during conversion. ([#34855](https://github.com/expo/expo/pull/34855) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
24
|
+
|
|
13
25
|
## 0.26.17 — 2025-02-06
|
|
14
26
|
|
|
15
27
|
_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.26.
|
|
19
|
+
version = '0.26.19'
|
|
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.26.
|
|
66
|
+
versionName '0.26.19'
|
|
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',
|
|
@@ -550,7 +558,15 @@ export function transformAppJsonForUpdatesDisabledE2E(
|
|
|
550
558
|
projectName: string,
|
|
551
559
|
runtimeVersion: string
|
|
552
560
|
) {
|
|
553
|
-
const plugins: any[] = [
|
|
561
|
+
const plugins: any[] = [
|
|
562
|
+
'expo-updates',
|
|
563
|
+
[
|
|
564
|
+
'@config-plugins/detox',
|
|
565
|
+
{
|
|
566
|
+
subdomains: Array.from(new Set(['10.0.2.2', 'localhost', process.env.UPDATES_HOST])),
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
];
|
|
554
570
|
return {
|
|
555
571
|
...appJson,
|
|
556
572
|
expo: {
|
|
@@ -744,7 +760,7 @@ export async function initAsync(
|
|
|
744
760
|
// enable proguard on Android
|
|
745
761
|
await fs.appendFile(
|
|
746
762
|
path.join(projectRoot, 'android', 'gradle.properties'),
|
|
747
|
-
'\nandroid.enableProguardInReleaseBuilds=true\
|
|
763
|
+
'\nandroid.enableProguardInReleaseBuilds=true\nEXPO_UPDATES_NATIVE_DEBUG=true',
|
|
748
764
|
'utf-8'
|
|
749
765
|
);
|
|
750
766
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-updates",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.19",
|
|
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.
|
|
41
|
+
"@expo/config": "~10.0.10",
|
|
42
42
|
"@expo/config-plugins": "~9.0.15",
|
|
43
43
|
"@expo/spawn-async": "^1.7.2",
|
|
44
44
|
"arg": "4.1.0",
|
|
45
45
|
"chalk": "^4.1.2",
|
|
46
46
|
"expo-eas-client": "~0.13.2",
|
|
47
|
-
"expo-manifests": "~0.15.
|
|
47
|
+
"expo-manifests": "~0.15.6",
|
|
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": "c01c449a1d6e6e8690bfcc88a778b46781a59674"
|
|
71
71
|
}
|