firebase / quickstart-js

Firebase Quickstart Samples for Web

Home Page:https://firebase.google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

messaging quickstart does not work

thedmdim opened this issue · comments

Step 1: Describe your environment

  • Operating system: MacOS
  • Browser: Safari/Chrome
  • Firebase SDK version: 12.5.4

Step 2: Describe the problem:

I have filled config.ts then I did npm run build and firebase emulators:start. The page loaded and I click Request Permission and get next output:
image

Steps to reproduce:

  1. git clone https://github.com/firebase/quickstart-js
  2. cd messaging/
  3. fill config.ts
  4. npm run build
  5. firebase emulators:start

Seeing this as well, did you find a resolution @thedmdim?

@jackfoust hi, i managed to solve this then, but don't remember how. My diff is
image

@thedmdim ah, nice! That makes sense though to switch that .js up a bit if you're not using firebase hosting. Thanks!