Codename One Restores Installable Offline Web App Support for Java Browser Apps

Codename One has restored progressive web app support after it was lost in the move from TeaVM to ParparVM, letting users install browser apps on supporting browsers. The ParparVM JavaScript build now automatically generates a manifest, home-screen icons and a service worker, with no separate enablement step, and the bundle should be deployed over HTTPS including subdirectories. A service worker caches generated application files so the app can launch offline, but it does not cache API responses, proxied requests or external resources. The framework notes that data synchronization and offline behavior, such as blocking actions that require a server, remain the developer's responsibility. Developers can customize the app's identity through build settings, and the article advises testing installation, offline behavior and update activation before deployment.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in