Open jimmyff opened 6 years ago
I don't believe dart:html, dart:indexed_db
will work in a service worker context without some surgery.
Some folks have worked around using:
https://github.com/isoos/service_worker
@terrylucas
It's working for me (although I am only using quite a simple implementation). it was only the IdbFactory.supported
that I ran in to that didn't work.
dart:indexed_db
from service worker IdbFactory.supported doesn't work aswindow
is not available from a service worker.