How to add a firebase-messaging-sw.js file to Bubble
I know that in a common resolution to the error below, I need to add a firebase-messaging-sw.js file. Since I’m using a bubble HTML element to run the script, I’m not sure how to do that. I tried using a CDN, but I’m not sure I did it properly, or if there is a better way. What do you think?
Firebase messaging from bubble
I’ve got a simple HTML element in Bubble.io that I’m trying to run javascript from.