Skip to content

Conversation

@carrfane
Copy link

Why?

For my use case, I need to manually register the service worker only if certain conditions are met, for this, I passed a flag to avoid that the plugin registers the service worker, and I register in another place on my app.

How it works?

in your ember-cli-build you pass

'ember-service-worker': {
ignoreRegistration: true
}

and the plugin will not register the service worker, allowing you to do the registration manually in your app.

@carrfane carrfane changed the title [WIP] Ignore Service Worker Registration Ignore Service Worker Registration Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant