<div dir="ltr"><div><div><div><div><div>Hello<br><br></div>I agree with you, that Jolla is currently not in a good financial situation. So a Push Service is for sure not a top priority for them. <br><br></div>Maybee we can get a better acceptance as a community project together with the guys from plasma mobile. Last year they started with great passion to implement a mobile plattform, based on the kde and plasma project. Sooner or later they will get a the point, where this plattform has also the need for a working push service.<br><br></div>I will ask in the plasma mobile forum if there is some interesst...<br><br></div>Bye<br></div>Georg<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-08 11:04 GMT+01:00 Thomas B. Rücker <span dir="ltr"><<a href="mailto:thomas@ruecker.fi" target="_blank">thomas@ruecker.fi</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/07/2016 12:45 PM, r0kk3rz wrote:<br>
> I wouldn't bet on Jolla hosting such a thing, this was raised by a<br>
> community member some time ago and afaik Jolla didn't show any interest.<br>
<br>
</span>To clarify, there was interest, but only as far as observing my research<br>
into this subject. Given that they constantly had and will have far too<br>
much on their plate and are severely cash limited, this is not that<br>
surprising. A working push service probably never was enough of a<br>
priority, neither in terms of engineer time nor paying someone external<br>
(e.g. me) to get it to work.<br>
<span class=""><br>
<br>
> For MQTT tbr made a patched apache paho mqtt client which a number of<br>
> sailfish os users have been using quite successfully for some time now:<br>
> <a href="https://github.com/dm8tbr/org.eclipse.paho.mqtt.python" rel="noreferrer" target="_blank">https://github.com/dm8tbr/org.eclipse.paho.mqtt.python</a><br>
<br>
</span>That's unfortunately a rather old fork of the python library. As I've<br>
coincidentally added TLS capability to the test server yesterday, I'll<br>
be revisiting it soon. Also as I want to look into MQTT over websockets.<br>
<br>
There is also a C/C++ library, libmosquitto. I think I also patched that<br>
with IPHB support at some point, but probably didn't push it to a public<br>
repository.<br>
<span class=""><br>
<br>
> This could be rolled into a service without too much trouble really.<br>
<br>
</span>Yes, there is a bare bones client service example using it here:<br>
<a href="https://github.com/dm8tbr/irssi-mqtt-sailfish" rel="noreferrer" target="_blank">https://github.com/dm8tbr/irssi-mqtt-sailfish</a><br>
<br>
All it does is forward a two line MQTT message as a Sailfish<br>
notification. I wrote it as a demonstration and to scratch my itch of<br>
receiving IRC notifications on my phone. (There is also a irssi script<br>
counterpart)<br>
<br>
A more proper deployment of a MQTT based push service would be the<br>
direction for any wider use. I did some initial architecture work and<br>
had started exploratory work on Trusor and Nuntius, respectively the<br>
server and client side daemons. This work has laid dormant for about a<br>
year now, as there was no interest from Jolla to invest into it, nor was<br>
there sufficient community momentum.<br>
<br>
Given Jolla's current situation, I very much doubt, that such a service<br>
would be of any priority to justify internal or external investment. So<br>
if, then it would need to come out of the community.<br>
<br>
Actually not just the Sailfish/Nemo/Mer community, but essentially<br>
anywhere in the open source community at large, as such a system could<br>
be universally useful. At that time it would be good to check if there<br>
is anything comparable meanwhile that could be used instead.<br>
<span class=""><br>
<br>
> However I think the whisper systems guys need to have their own rather<br>
> than relying on android/ios integrated features. Whether this is based<br>
> on MQTT or websockets or some other method of their devising is up to<br>
> them.<br>
<br>
</span>Their choice of using platform notification frameworks sounds sensible.<br>
The downside is, that alternative platforms won't have such services, at<br>
least not with user numbers justifying the engineering effort of adding it.<br>
<span class=""><br>
<br>
> On Sat, Feb 6, 2016 at 6:35 PM, george b <<a href="mailto:scooterschorschi@gmail.com">scooterschorschi@gmail.com</a><br>
</span><span class="">> <mailto:<a href="mailto:scooterschorschi@gmail.com">scooterschorschi@gmail.com</a>>> wrote:<br>
><br>
>     I did some more search on this issue.<br>
><br>
>     With libmosquitto and some client implementation (thank you,<br>
>     Yuvraaj), the push service may be possbile with the Mer<br>
>     testplattform.<br>
><br>
>     The problem with this is, that the guys from whisper systems have<br>
>     to include this push service within there server application. But<br>
>     I didn't think that they would do this with an experimental server.<br>
><br>
>     So what we really need is to get Jolla or the Mer Project to set<br>
>     up a reliable push service with an good API...<br>
><br>
<br>
</span>See above.<br>
<span class=""><br>
<br>
><br>
>     Bye<br>
>     Georg<br>
><br>
>     2016-02-02 20:00 GMT+01:00 Yuvraaj <<a href="mailto:yuvraaj@gmail.com">yuvraaj@gmail.com</a><br>
</span>>     <mailto:<a href="mailto:yuvraaj@gmail.com">yuvraaj@gmail.com</a>>>:<br>
<span class="">><br>
>         I had ported libmosquitto to Diablo and Maemo so that I could<br>
>         use it in my app qgvdial.<br>
>         I've even pulled out the class I used into a separate<br>
>         repository so that anyone else can use it:<br>
>         <a href="https://github.com/uvatbc/simplify/tree/master/qt/mqclient" rel="noreferrer" target="_blank">https://github.com/uvatbc/simplify/tree/master/qt/mqclient</a><br>
><br>
>         Hope this helps.<br>
>         -UV<br>
><br>
><br>
>         On 02/02/2016 06:04 AM, Tone Kastlunger wrote:<br>
>>         AFAIK, someone had putted together a concept-proof push service.<br>
>><br>
>>         On Mon, Feb 1, 2016 at 9:14 PM, Erik Lundin<br>
</span><span class="">>>         <<a href="mailto:erik@lists.lun.nu">erik@lists.lun.nu</a> <mailto:<a href="mailto:erik@lists.lun.nu">erik@lists.lun.nu</a>>> wrote:<br>
>><br>
>>             Den 2016-02-01 kl. 19:58, skrev george b:<br>
>><br>
>>                 The only missing thing is a working push service to<br>
>>                 get a real user<br>
>>                 experience with a messaging application.<br>
>><br>
>>                 Does anyone know something about that? I didn't find<br>
>>                 any good resources<br>
>>                 about this topic on the internet.<br>
>><br>
>><br>
>>             There exists a question about that at TJC [1]. One idea,<br>
>>             described at [2], seems to be to use an MQTT based<br>
>>             service. Not much seems to have happened the last years<br>
>>             though.<br>
>><br>
>>             I'm not involved in any of this myself but thought I<br>
>>             could share what I have seen, since I also think it would<br>
>>             be nice with some push service for SFOS.<br>
>><br>
>>             /Erik<br>
>><br>
>>             [1]<br>
>>             <a href="https://together.jolla.com/question/9724/push-notifications/" rel="noreferrer" target="_blank">https://together.jolla.com/question/9724/push-notifications/</a><br>
>>             [2]<br>
>>             <a href="https://wiki.merproject.org/wiki/Middleware/PushNotifications" rel="noreferrer" target="_blank">https://wiki.merproject.org/wiki/Middleware/PushNotifications</a><br>
>><br>
<br>
</span>Cheers<br>
<span class="HOEnZb"><font color="#888888"><br>
Thomas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
</div></div></blockquote></div><br></div>