Hello,
Your saved file path comes from: FileSystem.CacheDirectory
;
You need to change <files-path>
to <cache-path>
in file_provider_paths.xml
file like following code.
<?xml version="1.0" encoding="UTF-8" ?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<cache-path name="external_files" path="."/>
</paths>
If you want to know more details about Path maps, you can refer to this thread: https://developer.android.com/reference/androidx/core/content/FileProvider
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.