In Android i want to run websockets in background #14615
-
|
I am trying to setup websockets and Iroh package in Tauri. I used this package for websockets |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
the only way to have long-running background tasks on android are background/foreground services which we do not support yet and afaik would also be kotlin only. You could probably still load rust libraries similar to this but normally they are kotlin-only. Either way, the webview and the normal tauri "backend" won't be running. Welcome in the beatiful world of mobile development :) |
Beta Was this translation helpful? Give feedback.
the only way to have long-running background tasks on android are background/foreground services which we do not support yet and afaik would also be kotlin only. You could probably still load rust libraries similar to this but normally they are kotlin-only. Either way, the webview and the normal tauri "backend" won't be running.
Welcome in the beatiful world of mobile development :)