Implemented the functionality to download & export files on Android natively using omh-storage-core.
Updated the return type for the exportFile, downloadFile and downloadFileVersion functions from Promise<FetchResult> to Promise<void>.
Introduced the saveDir argument to eliminate hardcoded directory logic in the exportFile, downloadFile, and downloadFileVersion function implementations, thereby addressing @kamilkedzierski's issue.
Summary
omh-storage-core
.exportFile
,downloadFile
anddownloadFileVersion
functions fromPromise<FetchResult>
toPromise<void>
.saveDir
argument to eliminate hardcoded directory logic in theexportFile
,downloadFile
, anddownloadFileVersion
function implementations, thereby addressing @kamilkedzierski's issue.Demo
Download file
Screen_recording_20240821_122434.webm
Export file
Screen_recording_20240821_170134.webm
Closes: OMHD-453