v0.4.0
Fix the current behavior of listFiles and openDocumentFile API.
Improvements
- It's now possible to list contents of all subfolders of a granted Uri opened from
openDocumentTree(@EternityForest). - Now
ACTION_VIEWintent builder throughopenDocumentFileAPI was fixed. So it's now possible to open any file of any kind in third party apps without needing specify the mime type.
Breaking changes
- Removed Android specific APIs:
DocumentFile.listFiles(Now it's only available globally).buildDocumentUriUsingTreeremoved due high coupling with Android API (Android specific API that are not useful on any other platforms).buildDocumentUriremoved due high coupling with Android API (Android specific API that are not useful on any other platforms).buildTreeDocumentUriremoved due high coupling with Android API (Android specific API that are not useful on any other platforms).
getDocumentThumbnailnow receives only theuriparam instead of arootUriand adocumentId.rootUrifield fromQueryMetadatawas removed due API ambiguity: there's no such concept in the Android API and this is not required by it to work well.