[bug] bundleresources is not working for Android
Describe the bug
It won't bundle the resources specified in the bundleresources config for Android (yarn tauri android dev). Does this option apply to Android?
"bundle": {
"resources": [
"resources/*"
]
}
Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
- OS: Windows 10.0.22000 X64
✔ WebView2: 121.0.2277.128
✔ MSVC: Visual Studio Community 2022
✔ rustc: 1.71.0 (8ede3aae2 2023-07-12)
✔ cargo: 1.71.0 (cfd3bbd8f 2023-06-08)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 18.16.0
- yarn: 1.22.19
- npm: 9.5.1
[-] Packages
- tauri [RUST]: 2.0.0-alpha.21
- tauri-build [RUST]: 2.0.0-alpha.14
- wry [RUST]: 0.35.2
- tao [RUST]: 0.24.0
- tauri-cli [RUST]: 1.3.1
- @tauri-apps/api [NPM]: 2.0.0-alpha.13
- @tauri-apps/cli [NPM]: 2.0.0-alpha.20
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: Vue.js
- bundler: Vite
Stack trace
No response
Additional context
No response
I am having the same issue.
I am using this for a school project. I found a workaround. By making a zip file in the build.r.s and using include_bytes. Then I extract the files if needed. I know it isn't the best option. However, this is a small school project.
@wyatt-herkamp FYI. I just follow android doc and handle the files with an android plugin.
I had the same issue and decided to move towards using this library https://github.com/pyrossh/rust-embed. It works very well and simplifies a lot the data management.