dusk-network / rusk

The reference Dusk platform implementation and tools
Mozilla Public License 2.0
160 stars 60 forks source link

Add `@vite-pwa/sveltekit` to make the web-wallet a PWA #1487

Open kieranhall opened 8 months ago

kieranhall commented 8 months ago

Summary

With the SvelteKit Vite PWA plugin, we can provide the wallet as a PWA, giving the user several advantages such as adding the app to their home-screen and having an offline cache for indexDB amongst other benefits.

ascartabelli commented 8 months ago

FYI:

ascartabelli commented 8 months ago

@kieranhall

But now there's this: https://arstechnica.com/gadgets/2024/03/apple-changes-course-will-keep-iphone-eu-web-apps-how-they-are-in-ios-17-4/

kieranhall commented 7 months ago

My personal take on this is that it's a standard (of which vendors can choose to support / might be forced to support due to legislation etc.) and we can quite easily support it following the official Vite plugin (which is the recommended approach given by SvelteKit). The advantage to our users (who can take advantage of this) is quite significant due to the nature of this app. A PWA would be a reasonable stand-in soloution until naitive Dusk apps are available or Dusk is supported in common and popular wallet mobile apps.