uniqush / uniqush-push

Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
http://uniqush.org
Apache License 2.0
1.54k stars 201 forks source link

What about an open server-side events/REST protocol for apps on any platform? #270

Open ell1e opened 3 years ago

ell1e commented 3 years ago

I couldn't help but notice that all the protocols implemented so far seem to be proprietary ones for use with closed SDKs only (like the Android one, while the system is open the SDK is not). Even the Web Push API I saw suggested seems quite intertwined with the idea of signed Java apps and use through node.js libraries, rather than e.g. a more generally usable C lib for regular apps on maybe even laptops or desktops.

Are there any plans to support an open protocol maybe alike to Ubuntu Push, with more universal desktop or mobile native client tooling that works with stuff like OpenSSL and winapi and posix sockets? Such a C API could also be used from Java, for example, with a thin wrapper. Laptops in particular appear to be left out of push usage and many other battery optimizations for some reason, as well as the new growing niche of Linux phones, and as an app developer using a proper cross-platform language it seems a bit silly too to reinvent the wheel on every single quirky mobile platform with a new API. Why not use the same push client lib on all of them and on laptops and desktops too? The lock-in to platform specific protocols for the apps seems easy at first, but mostly littered with downsides and odd exclusions further down the road. It's not like a laptop benefits by wasting more energy on notifications compared to a phone.

I don't know, just makes me wonder that all the "open" push solutions seem to be rushing to stay in those weird EULA SDKs instead of actually making a proper universal app client spec. It's just a bit weird to me