tauri-apps / tauri-apps/plugins-workspace
[fs] Accessing image assets returns APK zip content instead of file
Open
platform: android
plugin: fs
type: bug
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
When developing an Android project, accessing file-based resources like HTML or JSON works correctly. However, when attempting to load image resources (e.g. .jpg, .png) from the same location, the returned content is a ZIP archive which, when extracted, contains the unpacked APK structure (e.g., classes.dex, resources.arsc, etc.), instead of the expected image content.
[mini example](https://github.com/InkSha/read-image-but-return-zip)
Contributor guide
Assessment
This issue has not been assessed yet.