diff --git a/CHANGELOG.md b/CHANGELOG.md
index 63b3e7f..f585053 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [Unreleased]
+## 1.0.1
+
+### 2025-08-01
+
+- Fix uploading files with content URIs by properly initializing Cursor.
### 2025-06-26
diff --git a/pom.xml b/pom.xml
index 1351db3..bfd31b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,5 +6,5 @@
4.0.0
io.ionic.libs
ionfiletransfer-android
- 1.0.0
+ 1.0.1
\ No newline at end of file
diff --git a/src/main/kotlin/io/ionic/libs/ionfiletransferlib/helpers/IONFLTRFileHelper.kt b/src/main/kotlin/io/ionic/libs/ionfiletransferlib/helpers/IONFLTRFileHelper.kt
index c83a83e..5c4380e 100644
--- a/src/main/kotlin/io/ionic/libs/ionfiletransferlib/helpers/IONFLTRFileHelper.kt
+++ b/src/main/kotlin/io/ionic/libs/ionfiletransferlib/helpers/IONFLTRFileHelper.kt
@@ -26,8 +26,10 @@ internal class IONFLTRFileHelper(val contentResolver: ContentResolver) {
fun getFileToUploadInfo(filePath: String): FileToUploadInfo {
return if (filePath.startsWith("content://")) {
val uri = filePath.toUri()
- val cursor = contentResolver.query(uri, null, null, null, null)
- ?: throw IONFLTRException.FileDoesNotExist()
+ val cursor = contentResolver.query(uri, null, null, null, null)
+ if (cursor?.moveToFirst() != true) {
+ throw IONFLTRException.FileDoesNotExist()
+ }
cursor.use {
val fileName = getNameForContentUri(cursor)
?: throw IONFLTRException.FileDoesNotExist()