[feature request] Conversations messenger has to run in foreground
Dear Community!
I use Conversations as messenger. In order to be able to receive notifications when Conversations is running in the background one has to activate the setting "run in foreground" in Conversations expert settings. This has the side effect that every time the connection gets interupted and established again conversations comes up with the notification "touch to open conv." (This can be quite often when beeing in regions with poor connectivity)
Thats annoying. When using Conv. in native andriod or other messengers from within SOS with activated "allow app to run in background" (like WA or Signal) it works without the expert setting from Conversations. When you just use the SOS setting Conversations runs in background but does not let notif. come through.
Is there a chance that in future the android virtual machine can handle Conversations' way to let notifications to come through. That woul be great because Conv. is a great app using the free standard of XMPP.
Thanks, broncheoli.
I can confirm this on Jolla 1 under SFOS 2.0.5.6 (and the original, AOSP 4.1.2 based AlienDalvik).
This behaviour is indeed a bit annoying, but there is no loss of funcionality.
Note: Conversations is a ("the best", IMO) XMPP- ("Jabber-") Client for Android.
olf ( 2017-03-03 21:26:36 +0200 )editWhat exactly do you mean with "Conversations is running in the background"? Do you mean that the app is actually closed? Or do you mean that the app is running, but you're using another app or locked your phone, etc.? In the second case I do get notifications, however cas, Conversations often looses the connection and doesn't reconnect automatically. But this does not change, if I use the "run in foreground" option you mentioned..
Mario ( 2017-03-04 20:56:42 +0200 )editWell, with "running in background" I mean: When from within Conv. "running in foreground" is not ticked, it still runs in background (after closing the UI) when I allow it to do so in the app settings within SOS, like some other messengers do (WhatsApp, Signal) You can see this in a task manager. With the difference that no notifications are coming through. Instead with "foreground" ticked notif. work but every now and then I get the notif. "touch to open conv.", it looks like that's the case every time the connection gets reestablished after a lost connection. Then I take my phone to see who's sent me a message, but it was just Conv. itself.
broncheolus ( 2017-03-05 17:08:27 +0200 )editWRT my comment above:
Due to the high battery drain with Conversations' service in foreground, I re-tested this recently with Conversations 1.18 and SFOS 2.1.0.11 (i.e. switching off 'Settings --> Expert settings --> Keep service in foreground' in Conversations, again).
Using this for a couple of days (mostly on WLAN), I now experience prompt message delivery and notification (having Conversations start with AlienDalvik automatically), no issues, but well reduced battery drain!
Looks like something changed (most likely in Conversations).
Note: Since SailfishOS 2.1.0, https://openrepos.net/content/schturman/android-apps-notifications (or editing the corresponding file manually) is not needed anymore; i.e. before that, Conversations' notifications were not displayed without the aforementioned tool or manual intervention.
olf ( 2017-04-26 01:39:51 +0200 )edit