Closed ellisio closed 6 years ago
After scraping my mind trying to remember, I defaulted to looking up this warning to refresh my memory. This warning cropped up a lot during development and is caused by the fact Firebase is being initialized inside an event listener callback. Unfortunately, this is required in order to pass config options from the client to the service worker and I think there's little that can be done to fix it. The good news is, this is just a warning. It shouldn't prevent the plugin from functioning properly.
Sounds good, I just know I have QA and Product folks who see anything yellow or red in the console and flip out and fail PRs for it. I'll let everyone know... haha.
Haha yeah, it's all good man. I would have definitely done something about it if I thought I could. The whole point was to have a single config without needing to duplicate the config in the ServiceWorker. In order to make it more streamlined for the end user, the console had to take a quit. Let me know if you run into any other problems :)
Hello,
When using this and registering FCM via VueJS I get the following warning messages in Chrome's console on initial loading of the service worker:
This appears to be a warning spit out by the following line in the Service Worker:
Any idea why these are being thrown?