chore: build

This commit is contained in:
2026-05-01 22:28:13 +02:00
parent ece977f268
commit 99ce3e4bb3
532 changed files with 5244 additions and 13124 deletions
+6
View File
@@ -10,6 +10,12 @@
### 💡 Others
## 12.0.13 — 2026-04-27
### 🐛 Bug fixes
- Fixed incorrect MD5 checksum on Android. ([#43909](https://github.com/expo/expo/pull/43909) by [@kudo](https://github.com/kudo))
## 12.0.12 — 2025-12-18
_This version does not introduce any user-facing changes._
+2 -2
View File
@@ -4,13 +4,13 @@ plugins {
}
group = 'expo.modules.asset'
version = '12.0.12'
version = '12.0.13'
android {
namespace "expo.modules.asset"
defaultConfig {
versionCode 1
versionName "12.0.12"
versionName "12.0.13"
}
}
@@ -12,9 +12,7 @@ import expo.modules.kotlin.modules.Module
import expo.modules.kotlin.modules.ModuleDefinition
import kotlinx.coroutines.withContext
import java.io.File
import java.io.FileInputStream
import java.net.URI
import java.security.DigestInputStream
import java.security.MessageDigest
internal class UnableToDownloadAssetException(url: String) :
@@ -29,22 +27,6 @@ class AssetModule : Module() {
return md.digest(uri.toString().toByteArray()).joinToString("") { "%02x".format(it) }
}
private fun getMD5HashOfFileContent(file: File): String? {
return try {
FileInputStream(file).use { inputStream ->
DigestInputStream(
inputStream,
MessageDigest.getInstance("MD5")
).use { digestInputStream ->
digestInputStream.messageDigest.digest().joinToString(separator = "") { "%02x".format(it) }
}
}
} catch (e: Exception) {
e.printStackTrace()
null
}
}
private suspend fun downloadAsset(appContext: AppContext, uri: URI, localUrl: File): Uri {
if (localUrl.parentFile?.exists() != true) {
localUrl.mkdirs()
+1 -1
View File
@@ -8,7 +8,7 @@
"publication": {
"groupId": "expo.modules.asset",
"artifactId": "expo.modules.asset",
"version": "12.0.12",
"version": "12.0.13",
"repository": "local-maven-repo"
}
}
@@ -1 +0,0 @@
02bddaa5646c5100aa2a37250d7a47be77e4f2ed
@@ -1 +0,0 @@
f56f56b4e1c0a28b7e0c51b8e7485930eef0e0fb709eae41fe0a656a9540c261
@@ -1 +0,0 @@
2c473bac2a1292c15a232c5c238cd518913556efa769a2c8e3de3634687f24aaa66a3bd5b08faf653867fd512e167f1cb9bb202896ebc84f7fbff1d2200d0383
@@ -1 +0,0 @@
c99d23add8ddd346e4972a902f0f70e8
@@ -1 +0,0 @@
70e5f0621e721ee1d57bb96a38f6f3620f7062df
@@ -1 +0,0 @@
5e907ec2263e0c21f8ee3c26c4986352e5d841c58e145dc3d9ef46e2f6cdfb5c
@@ -1 +0,0 @@
7f7e400352692fa6ca5b360f0e668fec8f90b6086ccfa7f8be900879e19dd09e159534f4483d99c6097eb014ddfa19f18b433aa53d1173c3cb3e47a614fe4d4e
@@ -1,87 +0,0 @@
{
"formatVersion": "1.1",
"component": {
"group": "expo.modules.asset",
"module": "expo.modules.asset",
"version": "12.0.12",
"attributes": {
"org.gradle.status": "release"
}
},
"createdBy": {
"gradle": {
"version": "8.14.3"
}
},
"variants": [
{
"name": "releaseVariantReleaseApiPublication",
"attributes": {
"org.gradle.category": "library",
"org.gradle.dependency.bundling": "external",
"org.gradle.libraryelements": "aar",
"org.gradle.usage": "java-api"
},
"files": [
{
"name": "expo.modules.asset-12.0.12.aar",
"url": "expo.modules.asset-12.0.12.aar",
"size": 19492,
"sha512": "7f7e400352692fa6ca5b360f0e668fec8f90b6086ccfa7f8be900879e19dd09e159534f4483d99c6097eb014ddfa19f18b433aa53d1173c3cb3e47a614fe4d4e",
"sha256": "5e907ec2263e0c21f8ee3c26c4986352e5d841c58e145dc3d9ef46e2f6cdfb5c",
"sha1": "70e5f0621e721ee1d57bb96a38f6f3620f7062df",
"md5": "c99d23add8ddd346e4972a902f0f70e8"
}
]
},
{
"name": "releaseVariantReleaseRuntimePublication",
"attributes": {
"org.gradle.category": "library",
"org.gradle.dependency.bundling": "external",
"org.gradle.libraryelements": "aar",
"org.gradle.usage": "java-runtime"
},
"dependencies": [
{
"group": "org.jetbrains.kotlin",
"module": "kotlin-stdlib-jdk7",
"version": {
"requires": "2.1.20"
}
}
],
"files": [
{
"name": "expo.modules.asset-12.0.12.aar",
"url": "expo.modules.asset-12.0.12.aar",
"size": 19492,
"sha512": "7f7e400352692fa6ca5b360f0e668fec8f90b6086ccfa7f8be900879e19dd09e159534f4483d99c6097eb014ddfa19f18b433aa53d1173c3cb3e47a614fe4d4e",
"sha256": "5e907ec2263e0c21f8ee3c26c4986352e5d841c58e145dc3d9ef46e2f6cdfb5c",
"sha1": "70e5f0621e721ee1d57bb96a38f6f3620f7062df",
"md5": "c99d23add8ddd346e4972a902f0f70e8"
}
]
},
{
"name": "releaseVariantReleaseSourcePublication",
"attributes": {
"org.gradle.category": "documentation",
"org.gradle.dependency.bundling": "external",
"org.gradle.docstype": "sources",
"org.gradle.usage": "java-runtime"
},
"files": [
{
"name": "expo.modules.asset-12.0.12-sources.jar",
"url": "expo.modules.asset-12.0.12-sources.jar",
"size": 3222,
"sha512": "2c473bac2a1292c15a232c5c238cd518913556efa769a2c8e3de3634687f24aaa66a3bd5b08faf653867fd512e167f1cb9bb202896ebc84f7fbff1d2200d0383",
"sha256": "f56f56b4e1c0a28b7e0c51b8e7485930eef0e0fb709eae41fe0a656a9540c261",
"sha1": "02bddaa5646c5100aa2a37250d7a47be77e4f2ed",
"md5": "1ab99b0c156707d6eb0c255e128a9223"
}
]
}
]
}
@@ -1 +0,0 @@
edebab57a1afb9a03917bfd998dbf627
@@ -1 +0,0 @@
4bfa02a48ead482bb108cfa62c00a04cc42acc16
@@ -1 +0,0 @@
84e24e8471b76e9ea10ecb77142b24d0566d50d4e4c2eabbbd8a6c0c4b75f4ea
@@ -1 +0,0 @@
246f56105b56b0316bbfd2c987e4cb2780aeedaf7603527fa1f891e15abe94e0a1b3a2a121fdaaffe0ba14e26f7c008768e8529fb4ec0b32aff8bf51160ff83d
@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>
<groupId>expo.modules.asset</groupId>
<artifactId>expo.modules.asset</artifactId>
<version>12.0.12</version>
<packaging>aar</packaging>
<name>expo.modules.asset</name>
<url>https://github.com/expo/expo</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://github.com/expo/expo/blob/main/LICENSE</url>
</license>
</licenses>
<scm>
<connection>https://github.com/expo/expo.git</connection>
<developerConnection>https://github.com/expo/expo.git</developerConnection>
<url>https://github.com/expo/expo</url>
</scm>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk7</artifactId>
<version>2.1.20</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
@@ -1 +0,0 @@
9a243acc5795fa880b7cc3a00530c315
@@ -1 +0,0 @@
cac965b69d3270f1ccda1328ffb642f641f5bae0
@@ -1 +0,0 @@
c7b45abd024dfee815d68dae84adacf5aaf1ab996d67ad231b45651d563fce83
@@ -1 +0,0 @@
ecb134732a941b8aa41a972f0d461a7c15da381bcb1d4301561345df071555fae230deec56037f3bc9435301d95b0156c16de0ea45c5f5acf70677732a0d58f7
@@ -3,11 +3,11 @@
<groupId>expo.modules.asset</groupId>
<artifactId>expo.modules.asset</artifactId>
<versioning>
<latest>12.0.12</latest>
<release>12.0.12</release>
<latest>12.0.13</latest>
<release>12.0.13</release>
<versions>
<version>12.0.12</version>
<version>12.0.13</version>
</versions>
<lastUpdated>20251218095255</lastUpdated>
<lastUpdated>20260427134253</lastUpdated>
</versioning>
</metadata>
@@ -1 +1 @@
ae4ff5da549a2cfba4cc9b369f056ccd
2711710af84145bf64ecfa8c0bffbcac
@@ -1 +1 @@
e92a917663ccc4434f7102b4c7f2ebe3958c2a67
4e0aaa02ebee66626d31cf9451c13cf7a8036719
@@ -1 +1 @@
e07d4cb9519c6b1924d0dba84f34e66dfb064c622c89fe49731cecc5b41a1268
b8f8c3c60f5da691e692daf98f1108788a5935bb54da02bc5adf078fe65ebf8f
@@ -1 +1 @@
466ef8c279ee6fa7d378fb0ac00cd39777adf1ef2ab1cdc4975f97b1cb89b4ec84572f950f166febc5a7074bc3959ef5b587654889e366a23e79f362a382627d
a361cbdd6d31e8c43be26081b91bcb922edab567e31fbd9172910e9338540a12f28baeaaccf18b19ee53c6febf124c7a546c0e58848bda656fd07ac6db53655a
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "expo-asset",
"version": "12.0.12",
"version": "12.0.13",
"description": "An Expo universal module to download assets and pass them into other APIs",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -49,7 +49,7 @@
},
"dependencies": {
"@expo/image-utils": "^0.8.8",
"expo-constants": "~18.0.12"
"expo-constants": "~18.0.13"
},
"devDependencies": {
"@testing-library/react-native": "^13.2.0",
@@ -62,5 +62,5 @@
"react": "*",
"react-native": "*"
},
"gitHead": "19c457054271b67be9145b575692d1437150aaa7"
"gitHead": "dd4e87727c4ef32ac5d8a7b5a42fd80da254140f"
}