We have moved to a new Sailfish OS Forum. Please start new discussions there.
91

[feature-request] Add Missing Apps to the chat application list [answered]

Tracked by Jolla (In release)

asked 2015-09-12 16:22:20 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2018-01-18 21:20:10 +0300

ray-ven gravatar image

Beside Whatsapp which works fine - thanks - I'm using Threema, but chat notifications appear like before without sound oder notification in eventview. Also the icon is not showing up on the lock screen. Maybe make it configurable which notification will trigger a notification and which not?

Or maybe other Threema-users have other experiences?

EDIT: Same Behaviour for TextSecure

EDIT2: Edited the Topic to change the config file for users not so experienced. Worlaround work well for me...

EDIT3: Edited the call to let the question opened, to avoid a wrong understanding, it's not about installing these

chats for all users, it's about adding them to notification list, so if a user installs it notifications will work from the beginning.

For those not confident with terminal, you can install file browser with root from warehouse. with this app you can chance the read/write settings of the mentioned file and edit it with e.g. file case.

Step by step without terminal:

  • Install Filecase from warehouse
  • Install Filecase as root from warehouse
  • Open Filecase as root
  • Navigate two layers back with the white point on the upper left side
  • Navigate to "usr"
  • Navigate to "share"
  • Navigate to "lipstick"
  • Tap on "androidnotificationpriorities"
  • Choose "Edit" in Pulldown menu
  • add the given string at the end of file, for example:

Chat

Threema;chat,chat_exists
package:ch.threema.app;chat,chat_exists

Mail

For Mailapps replace chat,chat_exists with email,email_exists

if your app is not mentioned here before do these additional steps to get the information:

  • Install crest from Jolla store
  • Open Crest
  • Open your favorite android app you want to activate notifications for
  • head back to crest, usually the topmost app is the one you search, check back, the string in crest should include the appname, for example ch.threema.app for Threema
  • Go back to FileCase
  • Enter the following string, replacing "name of the app" and "string from crest"

*Name of the App*;chat,chat_exists
package:*string from crest*;chat,chat_exists

for mail apps replace chat,chat_exists with email,email_exists

  • Close the edit menu with navigating back (white dot in the upper left corner)

maybe restart device, in my case it worked without restart.

Please don't close the question as it's request to add these chats to the notification list for all users

Missing Apps so far: Threema, TextSecure, Conversations

EDIT4: 2.0.0.10 is still missing these.

EDIT5: Changelog to 2.0.1.7 contains still no info to THREEMA notifications.

EDIT6: I'm on 2.0.1.7 EA, workaround still has to be done

EDIT7: Changelog to 2.0.2 Aurajoki EA still contains no hint for any change. Can't understand, if this is it. It's so easy for them to add this for us.

EDIT8: 2.0.4.13 still doesn't contain Threema, jongla and a few others were added

EDIT9: 2.1.0.9 fixed

EDIT10: Could you please add riot.im (Riot.im;chat,chat_exists package:im.vector.alpha;chat,chat_exists)

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by nthn
close date 2017-04-18 15:58:29.751704

Comments

1

I have the same experience with TextSecure. No icon on lock screen and no sound. Though it appears in Eventsview and even if an alarm sound is set in the app itself it won't be triggered.

leszek ( 2015-09-12 16:59:35 +0300 )edit
4

The same here for Conversations.

fifr ( 2015-09-12 19:00:56 +0300 )edit

same here threema notifications are only on homescreen but no sound and no led blinking. very annoying

monkeyisland ( 2015-09-12 19:06:49 +0300 )edit

A little bug is, that manually made additions are overwritten during update, so you have to add all lines again after update to 2.0.0.10. But it is quick done.

Boris ( 2015-10-25 13:10:26 +0300 )edit

I won't say it's a bug because it's just not implemented yet, so I think the update process overwrites older version to prevent issues because of modified files. For example I installed a different version of the documents app with new functionalities, store could not update this version but system update did. So for me it's more like a features despite this case where we want to save the changes ;)

drummer12 ( 2015-10-25 14:19:21 +0300 )edit

11 Answers

Sort by » oldest newest most voted
34

answered 2015-09-12 19:11:02 +0300

gehowa gravatar image

I had the same problem. Luckily it's quite easy to fix if you're not afraid to use the terminal. Gain root access via devel-su, then add the following lines to the file /usr/share/lipstick/androidnotificationproperties:

Threema;chat,chat_exists
package:ch.threema.app;chat,chat_exists
edit flag offensive delete publish link more

Comments

Cool, thanks that worked. I had the same problem.

rha ( 2015-09-12 20:20:30 +0300 )edit
11

Thanks I added TextSecure support by appending

TextSecure;chat,chat_exists
package:org.thoughtcrime.securesms;chat,chat_exists

I would like Jolla to add this to that file aswell so TextSecure Users have notifications :)

leszek ( 2015-09-12 20:27:33 +0300 )edit

great this is awesome many thanks

monkeyisland ( 2015-09-12 23:29:48 +0300 )edit
5

Imho this should not be implemented on this basis. It could be a tickable option in the app settings of the Jolla. At least that would be a lot more intuitive and make a whole lot more sense.

Shoppinguin ( 2015-09-13 09:18:00 +0300 )edit

I think this not related to your request because as average Joe you would expect all chat apps to get notification. Make it costumable is another thing, which is quiet a good idea, but why not implement these apps by default? If you don't ise these apps you won't get notifications...

drummer12 ( 2015-09-13 11:23:32 +0300 )edit
-7

answered 2015-09-12 20:23:39 +0300

Alin gravatar image

all these are third party applications... if there is a bug it is in the apps themselves... of course except the android ones...

edit flag offensive delete publish link more

Comments

I don't understand what you want to say but in every case this is not an answer so please convert to comment...

drummer12 ( 2015-09-12 20:31:48 +0300 )edit

what i mean none of the apps named in the bug now feature are default apps or jolla apps... if they do not work as expected and they are native sailfish apps take it with their authors as it may happen they do not read this corner of the web.

for android apps of course you cannot do that.. hence my exception. Someone indicated to you a mechanism towards happiness..

about your last point comment/answer is a long literary discussion that I would not start. Comment or answer shall be left to the decision of the writer in my humble opinion.

Alin ( 2015-09-12 20:51:55 +0300 )edit
2

Both apps are Android Apps hence also you edit the androidnotificationproperties to add those two. Its a very simple thing to do by the Sailfish devs.

leszek ( 2015-09-12 21:09:25 +0300 )edit

I don't want to discuss with you. I asked two questions in my thread, your "answer" doesn't answer any of these because you "answered" some general things. You didn't even know the apps. TJC is not a chat and if someone is searching an answer on that question your post is not useful, so it's a comment. I don't see space to discuss.

drummer12 ( 2015-09-12 21:16:22 +0300 )edit
1

@Alin Here's a guideline for how to use answers and comments here on TJC. Let's keep it clear and cooperative discussion board following these :) https://together.jolla.com/question/4389/together-howto-question-answer-and-comment/ You can find all the guidelines on the front page under featured tags

simo ( 2015-09-12 22:43:47 +0300 )edit
0

answered 2015-11-29 00:58:03 +0300

lazart gravatar image

@drummer12: thanks very much, k9-mail (mail client with pgp support) now works with sf 2.0.0.10 after adding it into the file.

edit flag offensive delete publish link more
0

answered 2015-12-28 05:14:05 +0300

olf gravatar image

updated 2015-12-28 05:31:41 +0300

That is:

K9-Mail;email,email_exists
package:com.fsck.k9;email,email_exists

Not ;mail,mail_exists as once mistyped in the original message (and once correctly ;email,email_exists).

edit flag offensive delete publish link more
2

answered 2015-12-28 07:38:29 +0300

olf gravatar image

updated 2015-12-30 01:41:32 +0300

Thus the SailfishOS AlienDalvik notification entry for the Android app Conversations is:

Conversations;chat,chat_exists
package:eu.siacs.conversations;chat,chat_exists

This file contains all the additions suggested in this discussion thread: usr_share_lipstick_androidnotificationpriorities.expanded_2015-12-27.txt

P.S.: Do not miss to set "Allow application background services to start on bootup" in Settings-->Apps for each notifying Android application.

edit flag offensive delete publish link more

Comments

thank you very much, it was allowing the background services that was missing for me! sound again! :)

lazart ( 2016-05-29 14:24:19 +0300 )edit
0

answered 2015-12-28 07:43:21 +0300

olf gravatar image

updated 2015-12-30 01:45:57 +0300

As the entry Twitter messages seems to be broken, I changed those two lines to:

Twitter;chat,chat_exists
package:com.twitter.android;chat,chat_exists

This file contains this change and all the additions suggested in this discussion thread: usr_share_lipstick_androidnotificationpriorities.corrected-expanded_2015-12-28.txt

edit flag offensive delete publish link more
0

answered 2016-01-06 14:45:28 +0300

bwelmers gravatar image

Files in /usr/share should never be manually edited, they are managed by rpm and overwritten on updates. Is there a way to use a config file in /etc ?

edit flag offensive delete publish link more
0

answered 2016-05-15 21:56:59 +0300

Sara7 gravatar image

Hi, I'm struggling with the notifications as well. I downloaded K-9 mail from F-droid today. I set up my e-mail through IMAP and in the settings I ticked 'ringtone' for notifications, but nothing happens. I can only see in the status bar in K-9 that a new email has arrived. I would like to have a sound and maybe an icon on the lock screen or the notification area.

I tried to follow the instructions above, but I don't have "androidnotificationpriorities" in the file browser. Any suggestions?

edit flag offensive delete publish link more

Comments

Which file browser do you use? I would recommend File case from openrepos.net. Additional the app "File Case as Root" so you don't need developer mode available. There you should have the described files. Are you using Jolla Phone or a port?

drummer12 ( 2016-05-15 23:19:44 +0300 )edit

Hi, I'm using a Jolla phone. I've downloaded Filecase now + the Root app, but I see the same files as before. So I went through 'usr' -> 'share' -> 'lipstick' and then I have the following options: - devicelock - eventfeed - notificationcategories - lipstick.conf

I already checked under 'notificationcategories', but 'androidnotificationpriorities' is not there.

Sara7 ( 2016-05-16 14:30:00 +0300 )edit

Did activate "show hidden files" in the settings of file case?

drummer12 ( 2016-05-16 15:06:39 +0300 )edit

I did, doesn't make a difference

Sara7 ( 2016-05-16 15:26:33 +0300 )edit

Are you using a Jolla Phone? Or a port on a nexus or smnilar?

drummer12 ( 2016-05-16 18:08:22 +0300 )edit
6

answered 2016-05-18 09:52:28 +0300

Schturman gravatar image

updated 2016-05-18 09:53:28 +0300

If someone interested in easy way to add preferred android chat & mail apps to Jolla notifications, I created this app:
https://openrepos.net/content/schturman/android-chat-mail-notifications
:D

edit flag offensive delete publish link more

Comments

This app goes on the way to improve integration and customization, in a secure way :D

palikao ( 2016-05-18 11:05:59 +0300 )edit

<3 !!!!1einz

alboe ( 2016-05-18 13:28:01 +0300 )edit

If needed more apps, just request on openrepos and provide Name of app and name of process (see description). And I will add in the next update...

Schturman ( 2016-05-18 17:46:57 +0300 )edit
4

answered 2016-10-08 08:51:34 +0300

Sage gravatar image

updated 2016-10-08 08:52:13 +0300

So here is what you have been waiting for https://git.merproject.org/mer-core/lipstick/merge_requests/49 right?

After this the file will look like https://git.merproject.org/mer-core/lipstick/raw/07e2e488604699eaf920a99e5b9aba9e5b453d7e/src/androidnotificationpriorities

Reviews are welcome.

edit flag offensive delete publish link more

Comments

That's great, thanks!

nthn ( 2016-10-08 12:54:48 +0300 )edit
1

How about to add this list of apps that was requested on my openrepos page https://openrepos.net/content/schturman/android-apps-notifications
The chats:

BBM;chat,chat_exists
package:com.bbm;chat,chat_exists

ICQ;chat,chat_exists
package:com.icq.mobile.client;chat,chat_exists

Disa;chat,chat_exists
package:com.disa;chat,chat_exists

Swist;chat,chat_exists
package:com.odario.swist;chat,chat_exists

Hoccer;chat,chat_exists
package:com.artcom.hoccer;chat,chat_exists

Threema;chat,chat_exists
package:ch.threema.app;chat,chat_exists

Matrix;chat,chat_exists
package:org.matrix.androidsdk.alpha;chat,chat_exists

Slack;chat,chat_exists
package:com.Slack;chat,chat_exists

TextSecure;chat,chat_exists
package:org.thoughtcrime.securesms;chat,chat_exists

ChatSecure;chat,chat_exists
package:info.guardianproject.otr.app.im;chat,chat_exists

KakaoTalk;chat,chat_exists
package:com.kakao.talk;chat,chat_exists

Kontalk;chat,chat_exists
package:org.kontalk;chat,chat_exists

Hangouts;chat,chat_exists
package:com.google.android.talk;chat,chat_exists

Vector;chat,chat_exists
package:im.vector.alpha;chat,chat_exists

XabberDev;chat,chat_exists
package:com.xabber.androiddev;chat,chat_exists

TokAppSchool;chat,chat_exists
package:com.MultiExpo.tokappschool;chat,chat_exists

Conversations;chat,chat_exists
package:eu.siacs.conversations;chat,chat_exists

FacebookLite;chat,chat_exists
package:com.facebook.lite;chat,chat_exists

MessengerLite;chat,chat_exists
package:com.facebook.mlite;chat,chat_exists

Not Chat or Mail (required diff sound and led notification that included in my app):

IsraelPost;android_other
package:com.pelebit.postil;android_other

AfterShip;android_other
package:com.aftership.AfterShip;android_other

Mivzakon;android_other
package:net.wzmn.mivzakon;android_other

Mivzaki;android_other
package:com.brodgate.mivzaki;android_other

Ahabg;android_other
package:bg.aha.client;android_other

Flitsmeister;android_other
package:nl.flitsmeister;android_other
Schturman ( 2016-10-08 15:39:14 +0300 )edit
1

See the last message from me, you can do this kind of contributions yourself also which makes things proceed much faster.

Sage ( 2016-10-10 10:49:09 +0300 )edit

Question tools

Follow
44 followers

Stats

Asked: 2015-09-12 16:22:20 +0300

Seen: 12,603 times

Last updated: Jan 18 '18