revoltchat / revite

Revolt client built with Preact.
https://app.revolt.chat
GNU Affero General Public License v3.0
848 stars 201 forks source link

bug: Mobile notifications just don't work #871

Open crxssed7 opened 1 year ago

crxssed7 commented 1 year ago

What happened?

Notifications on mobile (both Android and iOS) only work when the app is open. I suspect this is due to it being a webapp. However since this is a chat app I believe push notifications (that are sent regardless of whether the app is open or not) should be a vital feature of the mobile apps. I don't know how this could be done, but there could be an alternate solution such as email notifications.

Branch

Production (app.revolt.chat)

Commit hash

e17e556

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Relevant log output

No response

Desktop

PWA

Gyztor commented 1 year ago

I have noticed this too, i seem to be unable to enable the setting for push notifications on the android app or safari web interface. But seems to work fine on desktop browsers or applications.

edit: fixed on android app, not sure why that one broke but after disabling and re-enabling permissions that fixed it

JustChamp commented 1 year ago

Still not working properly, at least for android, I only get notifications when I open the app (If I even get them then)

Typednull commented 8 months ago

Yeah, even now i don't get any mobile notifications. Hope this can be fixed somehow

orklepee commented 6 months ago

Issue persists for me as of today.

ilmaisin commented 6 months ago

On Firefox for Android, it is impossible to check the "Push" notifications option: the check mark appears on the check box, but the box stays gray, and the mark vanishes when I tap somewhere else.