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
+2 -2
View File
@@ -4,13 +4,13 @@ plugins {
}
group = 'host.exp.exponent'
version = '17.0.10'
version = '17.0.11'
android {
namespace "expo.modules.imagepicker"
defaultConfig {
versionCode 22
versionName "17.0.10"
versionName "17.0.11"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
testOptions {
@@ -40,14 +40,14 @@ internal fun getType(contentResolver: ContentResolver, uri: Uri): String? {
null,
null,
null
).use { cursor ->
if (cursor?.moveToFirst() == true) {
)?.use { cursor ->
if (cursor.moveToFirst()) {
val columnIndex = cursor.getColumnIndex(DocumentsContract.Document.COLUMN_MIME_TYPE)
if (columnIndex != -1 && !cursor.isNull(columnIndex)) {
cursor.getString(columnIndex)
return@use cursor.getString(columnIndex)
}
}
null
return@use null
}
}