Push notifications
Is there currently (can't find it) or is planned support for iOS/Android-like push notifications?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Is there currently (can't find it) or is planned support for iOS/Android-like push notifications?
I'd like to see an open standard used. Apple and Google are using push as a method to lock down users. Also all that centralized power might save battery but it compromises privacy.
I think there are two possible solutions:
Work with QtProject to create something that will work in all platforms Qt is available and where anybody can host his own server. This however might end up in the device having to connect to multiple hosts at the same time, not very battery friendly.
(ab)use a messaging service (XMPP comes to mind) with federation to implement push. Everybody can host his own jabber server, federated with the jolla one. A local and remote jabber user will be created for each app installation. The local user will make a friend request to the remote user which will then talk back in JSON providing notifications. This way the phone will need to just be connected to one federated XMPP account only at each time. This can be jolla's by default or replaced with any other the user might want, as long as it supports federation.
Talking with a friend who has some knowledge of this and he mentioned that the data-packet (TCP/IP part) is not so hard, it is the specific carrier optimised settings that are the tricky bit (i.e. how far apart do the "keep-alive" messages need to be for a specific network in each country,
ymb ( 2014-01-16 15:37:29 +0200 )editNote that this solution would mean that all applications would need to run a separate service each connecting to a separate server. I agree that privacy is a problem, but that depends what you (or the service) sends. Note that all your SMS texts go through and are archived(!) on one or more servers.
Nux ( 2014-01-16 19:57:12 +0200 )editOnly the first solution would require that. The second one involves connecting as a apecific user to the provided XMPP server which can be Jolla- or self-hosted. The phone will maintain one connection to said server using the existing daemon, and notify (wake) apps depending on the user which received the message.
qwazix ( 2014-01-16 20:07:33 +0200 )edit@tbr is working on support for MQTT under Mer Project umbrella.
MQTT is a open machine-to-machine (M2M)/"Internet of Things" connectivity protocol. The preliminary experiments with MQTT on SailfishOS are very promising.
I vote for an cetralized one regulated by QA if they are on harbour .... why ?
But the first two point are to be more like a propositions than answers ......
The reality is a bit different ... the case ?
Mitäkuuluu
We can't use push services due most of app till now ( is a pity ) can't use upstream push services ( whatsapp and foursquare for example ) and then an effective ( ihmo ) approach is like Meego-Harmattan ... you can use daemon but you must to limit drain, in battery and in data
I hope this post can be discussed constructively ... I hope SaifishOs can be saw as a clear, productive and good organized platform rather then ... messy, complicated and with many wheels provieded for the same thing ....
Better a good implemented method then reinvent it every time ... see android process and you know what I mean ....
Respect Fabio
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-01-03 22:30:28 +0200
Seen: 3,686 times
Last updated: Jan 28 '15
Allow for multiple notification destinations
Calendar notification [released]
Show Facebook feed in notifications instead of opening a browser
PBAP bluetooth profile support is requested [released]
My Jolla does not recognise any micro sd card. What I can do? [answered]
Add skype integration to sailfish os
Add DBus interface to stock music player [released]
[How-To] WPA-802.1X (enterprise), eduroam +[Others] GUI wifi support needed + workaround [released]
do you mean for app developers or ...?
AL13N ( 2014-01-04 00:21:45 +0200 )editWell...yes. I don't see how normal user would use such thing. Maybe I wasn't really clear about what I mean.
http://en.wikipedia.org/wiki/Apple_Push_Notification_Service
koudi ( 2014-01-04 00:40:30 +0200 )editThis is an excellent question.
v2px ( 2014-01-04 02:53:14 +0200 )edit@koudi if unclear, please edit and rephrase your question :-)
AL13N ( 2014-01-04 11:04:40 +0200 )editWhat technologies would you like the solution to use?
Stskeeps ( 2014-01-15 22:16:38 +0200 )edit