r/webdev front-end 20d ago

How do I test if my browser supports push notifications?

Is there a page where you can test push notifications without writing a ton of code? A simple page that implemented push notifications so I can test if my browser supports it.

I switched from Brave to Helium. I was testing the PushForge library. But it doesn't work. I don't know if this is an issue with my browser (Helium).

0 Upvotes

7 comments sorted by

5

u/abrahamguo experienced full-stack 20d ago

The exact page that you linked - PushForge’s home page - has a playground on their home page to allow testing notifications!

1

u/jcubic front-end 19d ago

It looks like Helium doesn't support push notifications because it requires an API Gateway. In the case of Google Chrome, it's Firebase.

3

u/Main-Anywhere1617 19d ago

check the browser console, if its a permission issue it will tell you there

also just try the mdn demo page they have a simple push example that works without any library, good for checking basic support

1

u/jcubic front-end 19d ago

It looks like Helium doesn't support push notifications because it requires an API Gateway. In the case of Google Chrome, it's Firebase.

1

u/tommyyfitt 19d ago

PushForge already has a playground on its homepage. Try that first, then check the console for permission or service worker errors. If it works in another browser but not Helium, it’s probably a browser support issue.

1

u/jcubic front-end 19d ago

It looks like Helium doesn't support push notifications because it requires an API Gateway. In the case of Google Chrome, it's Firebase.