tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] Cant ping 0.0.0.0/localhost/192.168.1.xxx/127.0.0.1 on android only

Open Alt-iOS opened this issue 1 year ago • 0 comments

Describe the bug

I get a Request("Type error: failed to fetch") on android, when on ios/web/desktop it works perfectly fine

Reproduction

  1. Install tauri-cli and add the targets for android
  2. Install cargo-leptos as it used for the frontend framework
  3. Clone the following repo (I think its easier than go step by step)
  4. Run on one terminal session cargo leptos watch
  5. Run on the other one cargo tauri android dev

Expected behavior

I get a hey message on the screen

Full tauri info output

➜ cargo tauri info
WARNING: no lock files found, defaulting to npm

[✔] Environment
    - OS: Mac OS 14.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.78.0-nightly (1a648b397 2024-02-11)
    ✔ cargo: 1.78.0-nightly (ccc84ccec 2024-02-07)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: nightly-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)

[-] Packages
    - tauri [RUST]: 2.0.0-beta.2
    - tauri-build [RUST]: 2.0.0-beta.1
    - wry [RUST]: 0.35.2
    - tao [RUST]: 0.25.0
    - tauri-cli [RUST]: 2.0.0-beta.1
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:8080/

[-] iOS
    - Developer Teams: my name and an ID

Stack trace

No response

Additional context

No response

Alt-iOS avatar Feb 14 '24 07:02 Alt-iOS