Library version: 1.5.1
OS version: [Android 11]
Device model: [Samsung Galaxy A8]
Describe the bug
When invoking DocumentFileUtils.MoveFileTo targeting a folder stored on an external drive (USB SSD in my example) the movement fails.
If the target folder is an internal folder, the move succeeds
Full file permission has been granted, the external folder has been selected using OPEN_DOCUMENT_TREE
To Reproduce
-
give application full file permissions
-
select target folder using ACTION_OPEN_DOCUMENT_TREE
-
select file that will be moved
-
start background thread
-
check file can be read and location can be written to
DocumentFileUtils.moveFileTo([any file], this, [Folder on external drive], null, new FileCallBack(){}
Stacktrace
[If applicable]
Library version: 1.5.1
OS version: [Android 11]
Device model: [Samsung Galaxy A8]
Describe the bug
When invoking DocumentFileUtils.MoveFileTo targeting a folder stored on an external drive (USB SSD in my example) the movement fails.
If the target folder is an internal folder, the move succeeds
Full file permission has been granted, the external folder has been selected using OPEN_DOCUMENT_TREE
To Reproduce
give application full file permissions
select target folder using ACTION_OPEN_DOCUMENT_TREE
select file that will be moved
start background thread
check file can be read and location can be written to
DocumentFileUtils.moveFileTo([any file], this, [Folder on external drive], null, new FileCallBack(){}
Stacktrace
[If applicable]