<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Service Worker on terrakok</title><link>https://terrablog.pages.dev/tags/service-worker/</link><description>Recent content in Service Worker on terrakok</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 30 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://terrablog.pages.dev/tags/service-worker/index.xml" rel="self" type="application/rss+xml"/><item><title>Offline Support for Compose Multiplatform Web Apps</title><link>https://terrablog.pages.dev/blog/offline-support-compose-multiplatform-web-apps/</link><pubDate>Wed, 30 Sep 2026 00:00:00 +0000</pubDate><guid>https://terrablog.pages.dev/blog/offline-support-compose-multiplatform-web-apps/</guid><description>&lt;h2 id="the-no-internet-problem" class="heading-with-anchor"&gt;&#10; The No-Internet Problem.&#10; &lt;a class="heading-anchor" href="#the-no-internet-problem" data-copy-heading-link data-heading-title="The No-Internet Problem." title="Copy a link to this heading" aria-label="Copy a link to heading: The No-Internet Problem."&gt;#&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Let&amp;rsquo;s assume you already have a Compose Multiplatform app that runs on the web.&lt;br&gt;&#10;Perhaps you&amp;rsquo;ve even configured a &lt;a href="https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest"&gt;web manifest&lt;/a&gt; so users can install it on their device as a PWA.&lt;br&gt;&#10;&lt;strong&gt;Let&amp;rsquo;s make it even better and bring its behavior closer to a native app.&lt;/strong&gt;&lt;br&gt;&#10;When a user runs an app in a browser, it&amp;rsquo;s reasonable to assume they have an internet connection. But if a user has installed a PWA app and its icon is available on the desktop, it&amp;rsquo;s reasonable to expect it to behave like a native app when there&amp;rsquo;s no internet connection.&lt;/p&gt;</description></item></channel></rss>