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.