tauri-apps / tauri-apps/plugins-workspace

[fs] Accessing image assets returns APK zip content instead of file

Open
#2,729 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.