Service Worker does not work in Capacitor iOS WebView

My PWA has a service worker.

When I visit https://mysite.com in Safari on iPhone, the service worker works perfectly.

When I build with a capacitor.config.ts like this

export default {
  appId: 'com.example.app',
  appName: 'MyApp',
  webDir: 'www',
  server: {
    url: 'https://mysite.com'
  }
}

it looks like the service worker is not running at all in the ios app

It works in the android webview.

They aren’t supported in the iOS WebView - ServiceWorker - Web APIs | MDN

has anyone made a solution for iOS Capacitor yet that just runs the service worker in the App instead of letting the WebView try to do it?

What about App Bound Domains?