Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] keep alive when simulated app gets closed #5855

Closed
JonasKruckenberg opened this issue Dec 18, 2022 · 0 comments
Closed

[feat] keep alive when simulated app gets closed #5855

JonasKruckenberg opened this issue Dec 18, 2022 · 0 comments

Comments

@JonasKruckenberg
Copy link
Contributor

Describe the problem

When running Tauri inside the Xcode simulator (and I assume when running on a real device too) quitting the app quits the watcher and development server too. Restarting the app will just result in a blank screen bc the app remains in the simulators dock, but there won't be a dev-server backing the app anymore.

Describe the solution you'd like

This makes sense as it mirrors how Tauri works on the desktop, I would argue however that the lifetime of the watcher and development server should be tied to the lifetime of the simulator instead of the app (if that is technically possible). This has a few reasons:

  1. The app icon remains in the simulators dock, intuitively a user assumes they can just click that icon again to re-launch the app
  2. On mobile its common the kill an app to reset it's state to the initial one

Alternatives considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants