Open
Description
Operating System
all
Environment (if applicable)
all
Firebase SDK Version
10.14.1
Firebase SDK Product(s)
Messaging
Project Tooling
n/a
Detailed Problem Description
When using getToken your function you can provide your own service worker registration file, not needing it to be name firebase-messaging-sw.js
it all works fine with getToken, but if you use deleteToken firebase throw an error:
Failed to delete Firebase token FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for
with no way to pass the same options.
Steps and code to reproduce issue
Same as description