tauri icon indicating copy to clipboard operation
tauri copied to clipboard

fix(android): improve error handling for external storage file access

Open ish1416 opened this issue 1 month ago • 3 comments

Fixes 500 error when accessing local video files in Android external storage directory via convertFileSrc. Added better error handling and logging for Android external storage access to help diagnose permission and accessibility issues.

Closes #14432

  • Enhanced Android-specific error handling in asset protocol handler
  • Added file existence checks before attempting to open files
  • Added detailed logging for debugging Android external storage access
  • Improved error messages with specific guidance for storage permissions
  • Added changelog entry in .changes directory

ish1416 avatar Nov 10 '25 04:11 ish1416

@FabianLars Can you review this PR?

ish1416 avatar Nov 10 '25 04:11 ish1416

@FabianLars Thanks for the review . Ill use your suggestions!

ish1416 avatar Nov 10 '25 12:11 ish1416

@FabianLars Ive changed in the latest commits whats have been asked can you review it now?

ish1416 avatar Nov 10 '25 12:11 ish1416