Get notifications from arbitrary services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-application-lifecycle |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
A good example for this is the uReadIt app: Reddit offers users the possibility to send each other "Reddit Mail", which isn't real e-mail, but internal messages. On Android I get notified about such Reddit Mail. At the moment we are in the following situation:
- Reddit won't support our Ubuntu Push Notification infrastructure because we're too small as a platform.
- The uReadIt app cannot bundle a background service which polls the API.
- account-polld has no support for Reddit Mail, and we can't just patch support for every service on the planet into it anyways.
So there's currently no possibility to fix this, and this applies to just about any service out there. Every service is different, every single one uses a different API, not even the basic protocols (e.g. JSON over HTTP over TCP) are standard.
Changed in ubuntu-application-lifecycle: | |
status: | New → Won't Fix |
We have invested into infrastructure to solve exactly these kinds of problems in a straightforward, power-efficient way: The push notification service. Rather than working around we should instead start looking for solutions to ease integration with our push infrastructure, probably by providing gateway services that users can authorize to translate between different push infrastructures.
The negative example for arbitrary polling in the background is Facebook Messenger on Android (e.g.: https:/ /www.reddit. com/r/Android/ comments/ 2vrcuj/ facebook_ messenger_ causing_ massive_ battery_ drain/). While the issues per-service are certainly fixable, it would require developers to do the right thing (tm), and I don't think we should work based on this assumption.