app icon indicating copy to clipboard operation
app copied to clipboard

tauri: App crashes at startup when no internet

Open filopedraz opened this issue 2 years ago • 2 comments

Description

If no internet, the app doesn't even load.

filopedraz avatar Nov 03 '23 07:11 filopedraz

We fetch service infos from registry in setup hook of main.rs. The hook happens before app loading. Not sure how to improve UX here.

Janaka-Steph avatar Nov 03 '23 09:11 Janaka-Steph

Let's expose a command is_offline and an event as well to JS so the app che show a nice "You are offline" screen

tiero avatar Nov 03 '23 11:11 tiero