Hacker News new | ask | show | jobs
by lern_too_spel 2024 days ago
It already does. https://bubu1.eu/openpush/

The fact that this is possible is something I have commented about on this very forum for years. It is trivial for the Amazons and Huaweis of the world to build an API like this that supports Google's FCM, Amazon's ADM, etc. and provide a library for developers to use that will let them easily deploy push-enabled apps on devices across all ecosystems.

1 comments

Already does?

“The OpenPush project aims to create ... Development is still ongoing.”

Doesn’t sound like it from the website.

It is already usable. Nobody would claim that a Linux distro isn't open just because it doesn't have a built-in push API. You can build one on top for other apps to use, and you can do the same on Android. This is notably different from iOS.
Is it already usable?

The repo says it is unfinished, and commits seem to have stopped a year ago. It looks like it has been abandoned.

Has it been used in production somewhere?

Here's yet another option that does essentially the same thing but doesn't provide a reference implementation for self-hosted push server. https://github.com/onepf/OPFPush/tree/master/samples/pushcha...

I wouldn't be surprised if Amazon has their own internal implementation of the same thing to use in their Android apps.

So, no. It’s not already usable and there are no complete alternatives you can point to.

You speculate that Amazon may have an internal framework for this, but so what? Even if your guess was correct, that’s not AOSP, and it’s not open.

Your statement that AOSP ‘already does’ this simply isn’t true.

It seems like you don’t distinguish between things that are possible in principle, and things that are actually true.

You're essentially suggesting that Android should have Tor built in. The point is that it's possible to use other push services on Android and has been done, just like it is possible to use Tor on Android. There is no reason that AOSP itself needs to implement Tor any more than Windows or AOSP needs to provide a push API. Both are possible to implement on top of the platform and have been implemented on top of the platform.

This is unlike iOS, which is the real broken platform.