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

As of today , can we do push notifications without thirdparty? #32

Closed
v3ss0n opened this issue Dec 18, 2016 · 2 comments
Closed

As of today , can we do push notifications without thirdparty? #32

v3ss0n opened this issue Dec 18, 2016 · 2 comments

Comments

@v3ss0n
Copy link

v3ss0n commented Dec 18, 2016

Is that possible to do push notifications in serviceworker without depending on thirdparty like
GCM or mozilla push services?
Is that possible to have our own push servers?

@jrconlin
Copy link
Member

I think the best answer is: "It depends"

If you want to have private versions of firefox for desktop connect to your private server, then yes, it's possible. Firefox for Android currently relies on GCM for a number of reasons (battery life, OS level privileges, etc.) so it's not easy to switch that over.

As I understand your core problem, network connectivity is not very reliable at your location, and you wish to have sub-second, continuous updates. There are other tools that exist which might aid you (XMPP / Jabber, WebRPC, etc.) however all of these have significant limitations as well (XMPP requires your device CPU to stay active and not sleep, WebRPC requires a live connection between to machines, etc.)

It may be that the best solution to messaging across slow or unreliable networks is to use email and polling. It's not going to be immediate, but may offer the best compromise.

@v3ss0n
Copy link
Author

v3ss0n commented Dec 20, 2016

Thank you very much for this explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants