You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm just getting started, so still have a separate rust webserver, and my front end in tauri communicates with that.
The web frontend uses POST to send messages to the server, and receive replies. When I compile my tauri app with cargo run, (ie not android), my separate webserver receives post messages as normal.
But when I run with cargo tauri android dev, then the POSTs are now GETs, which fail with 405.
Platform and Versions (please complete the following information):
Host OS:nixos
Target OS:android
Rustc: cargo mobile doctor:
[bburdette@HOSS:~/code/zknotes/zknotes/tauri/src-tauri]$ cargo mobile doctor
[!] cargo-mobile v0.5.1
• Installed commit message isn't present
✗ The tauri-mobile installation directory is missing! Checked at "/home/bburdette/.cargo/.tauri-mobile"
• NixOS v22.11 (Raccoon
• rustc v1.69.0 (84c898d65 2023-4-16)
[✔] Android developer tools
• SDK v26.1.1 installed at "/nix/store/8xfmkb84dim3rk7lk59kprp1jarzi7c9-androidsdk/libexec/android-sdk"
• NDK v25.2.9519653 installed at
"/nix/store/8xfmkb84dim3rk7lk59kprp1jarzi7c9-androidsdk/libexec/android-sdk/ndk/25.2.9519653"
Describe the bug
I'm just getting started, so still have a separate rust webserver, and my front end in tauri communicates with that.
The web frontend uses POST to send messages to the server, and receive replies. When I compile my tauri app with
cargo run
, (ie not android), my separate webserver receives post messages as normal.But when I run with
cargo tauri android dev
, then the POSTs are now GETs, which fail with 405.Steps To Reproduce
nix develop
Expected behavior
Expected POSTs.
Platform and Versions (please complete the following information):
Host OS:nixos
Target OS:android
Rustc:
cargo mobile doctor
:[bburdette@HOSS:~/code/zknotes/zknotes/tauri/src-tauri]$ cargo mobile doctor
[!] cargo-mobile v0.5.1
• Installed commit message isn't present
✗ The tauri-mobile installation directory is missing! Checked at "/home/bburdette/.cargo/.tauri-mobile"
• NixOS v22.11 (Raccoon
• rustc v1.69.0 (84c898d65 2023-4-16)
[✔] Android developer tools
• SDK v26.1.1 installed at "/nix/store/8xfmkb84dim3rk7lk59kprp1jarzi7c9-androidsdk/libexec/android-sdk"
• NDK v25.2.9519653 installed at
"/nix/store/8xfmkb84dim3rk7lk59kprp1jarzi7c9-androidsdk/libexec/android-sdk/ndk/25.2.9519653"
[✔] Connected devices
• Pixel_2_API_30 (sdk_gphone_x86)
Would you want to assign yourself to resolve this bug?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: