Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unified Push Notifications #252

Open
ereio opened this issue May 25, 2021 · 2 comments
Open

Unified Push Notifications #252

ereio opened this issue May 25, 2021 · 2 comments
Labels
feature New feature or request

Comments

@ereio
Copy link
Member

ereio commented May 25, 2021

Add ability to choose between background sync thread or a unified push instance.

https://unifiedpush.org/developers/flutter

@ereio ereio added the feature New feature or request label May 25, 2021
@ereio ereio self-assigned this May 25, 2021
@genofire
Copy link

genofire commented Jul 11, 2021

The Application-Server, like the Matrix-Instance, send a Push Message to an Push Gateway (e.g. FCM, UnifiedPush).
The Distributer Application, like Gotify or GoogleServices, has a Persistent Connection to the Push Gateway and recieve the Push Massage . So the Application, like Syphon, could be wake up by Distributer Application and tell it, that the Matrix-Instance has new messages.

For more details read the Website of https://unifiedpush.org/
A good starting point: https://unifiedpush.org/spec/definitions/


The Benefits of it is to safe battery, that Android just keep one connection to Push Gateway and not every Application holds one Connection. The Applications could also stopped and recieve new state out of the Internet.

It depends on the Application, but the information of the new state, could also received earlier. Like an the application pulls every x minutes.


By the way, for browser with "closed" Website exists also an PushAPI: https://developer.mozilla.org/en-US/docs/Web/API/Push_API

It could ("just") popup Notifications, if you allow it in your browser.

@genofire
Copy link

genofire commented Aug 20, 2021

The Matrix Client Fluffychat support already UnifiedPush and Elements has his second PR for it: element-hq/element-android#3448

@ereio ereio removed their assignment Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants