-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Describe the problem
I'm trying to perform a navigation to an external Url and then back to the app after the external Url invokes some command. I'm facing an issue with the navigation back to the app.
I used the following to go back to the app (since I'm on mobile platform):
webview_window.navigate("http://tauri.localhost/".parse()?);
The problem I am facing is that the proxy to the development viteserver is not working?? (not sure):
Probably because there is a lot of logic for handling the App url when setting up a webview:
https://github.com/tauri-apps/tauri/blob/dev/crates/tauri/src/manager/webview.rs#L414-L432
Describe the solution you'd like
I would like to know how to perform the navigation but also I think webview.navigate should actually take a WebviewUrl as input since that is also what we use when setting up the webview programmatically!
Alternatives considered
No response
Additional context
No response