Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Misconfigured plugin causes the app to fail #8

Open
clelland opened this issue Mar 27, 2015 · 0 comments
Open

Misconfigured plugin causes the app to fail #8

clelland opened this issue Mar 27, 2015 · 0 comments

Comments

@clelland
Copy link
Contributor

If the <preference> tag is not present in config.xml, or the named service worker script doesn't exist, then the fetch queue is never processed at all, and the application will white-screen on startup.

We need to handle this in a more robust manner. If the plugin cannot initialize properly, then it should not install the fetch delegate, and any serviceworker registration calls should return a rejected promise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant