Chrome Notifications for All Users!

I’m not a web developer expert, but the people I know who are always tell me the same thing.

Detect features, not browsers.

So if you guys are doing Chrome exclusive things, and then later add other browsers (probably with their own specific code and APIs), how will this not turn into a unmaintainable mess?

Detecting features rather than browsers is generally good advice for web development. However, in the case of push notifications, that’s not possible.

Push notifications are a new feature and still being developed by the browser vendors, and they are each doing it in slightly different ways. In the case of Chrome, you need to register an application with Google to handle the notification relaying, so there are actually browser specific requirements. The supported feature set also varies from browser to browser. So we’re supporting this feature browser by browser, starting with Chrome as it has the largest usage amongst our users.

3 Likes

I’m glad to see this finally becoming a reality!

I’d still really like to see these notifications expanded to support group shouts, is this or can this be made a planned push notification?

Basically, this is on our radar, but our system isn’t built for more broadcast-y notifications yet. We hope to, though!

1 Like

These notifications will be for desktop devices only. We have native mobile push notifications on the way. We’re planning for Firefox.

3 Likes

Is it even possible for a mobile browser to send notifications? I see Discourse doesn’t let you enable notifications when you’re on Mobile Safari or Chrome.

Idk what I am getting, but I use the android-version of chrome and I get notifications on my phone, if you are not testing it. And it redirects me to chrome when I click it.
Edit:

No I enabled it from my phone, and web bowser is “Chrome for Android”

Edit:
Chrome-version is: 50.0.2661.89

Message push notifications are now live, as I just got a notification for one.


Good chance I will be reactivating group notifications via Merely’s group enhancer and remove Roblox+ as I don’t use any feature in it enough to keep it.

1 Like

And now they are available

2 Likes

I don’t use R+, but it seems to be less useful haha.

All ROBLOX needs now is Read-Only API that will let you check limited / full inventorys for players and be able to get their total RAP without having to use R+ API for it or use json tables from rbx.trade :smiley: (my hope)

Awesome! :smiley:

I seem to be getting double notifications if I do the following:

  1. Have Google Chrome closed and receive a message with it closed
  2. Open chrome and get the notification that I have a new message
  3. Click on it (and reply? I think that is relevant)
  4. Notification comes up again, with clicking it giving a broken message with no topic, no message, and the avatar being Roblox
1 Like

Thanks for letting us know, we’ll investigate

After a little bit of work, I found out what is causing this bug.

1 Like

Can confirm this is why the bug occurs. Just figured it out for myself and it turns out I was ninja’d 2 hours ago :joy:

Although, I’ve never actually had this bug, but I was aware the inbox notification didn’t disappear after opening the message directly from the chrome notification dialog.

1 Like

@TheNexusAvenger, @MasterDaniel: Thanks for the repro help guys!

Thank @NoahWillCode, he originally asked me in a private message on the bug, where I got better repro steps until I actually found the issue.

He’s sitting next to me, so I will

2 Likes