Custom Service Worker

Hello,
I’m using http://app-framework.com/ … which uses framework7 v1

I’m using my own service-worker. This seems to conflict with the “offline-service-worker.js” that is incorporated in the app-framework.

The only way that seems to work is :

  1. in my service-worker.js add a skipWaiting() in the install event
  2. in /node_modules/app-framework/scripts/webpack-config.js, set ServiceWorker.events = false

Is there a way of disabling the offline-service-worker completely when building ? (ie --service-worker=false) ?

You better to ask it for AppFramework author