Ask / Submit
86

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

Tracked by Jolla (In release)

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

this post is marked as community wiki

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

updated 2017-02-09 00:35:59 +0200

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

edit retag flag offensive close delete

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 +0200 )edit
4

The same here for Conversations.

fifr ( 2015-09-12 19:00:56 +0200 )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 +0200 )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 +0200 )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 +0200 )edit

11 Answers

Sort by » oldest newest most voted
34

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

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 +0200 )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 +0200 )edit

great this is awesome many thanks

monkeyisland ( 2015-09-12 23:29:48 +0200 )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 +0200 )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 +0200 )edit
5

answered 2016-10-10 10:47:55 +0200

Sage gravatar image

The change that I made is now merged and it will become part of most probably SailfishOS 2.0.6. Now to make these things go faster here is a quick guide how you all could do similar change yourself and make sure that these things get fixed faster and are there in upcoming releases. It is not hard, but requires a bit learning if you haven't done contribution before. Here is a quick guidance, how to get this kind of contribution done currently (NOTE: this might change in the future but at least it works for the moment).

  1. Go to https://bugs.merproject.org/createaccount.cgi and register for an account if you don't already have one
  2. Make sure you have bug in e.g. mer bugzilla (https://bugs.merproject.org/) that you can refer later on commit message
  3. Go to https://git.merproject.org/mer-core/lipstick and login with the account created above
  4. Click fork and select your username. NOTE: I recommend you to learn how to use actual git, but here is quick guidance how to do such change from browser.
  5. Click "+" icon on the right side of "Files, Commits, etc." and there select "New branch"
  6. Give your branch a name, e.g., droidnotifications and click Create branch. Not mandatory, but makes it easier in my opinion to pull new changes later to master and do new branches from there for new contributions.
  7. Browse in your fork's new branch to file lipstick/src/androidnotificationpriorities
  8. Click "Edit"
  9. Add your changes to the file with proper commit message e.g.

    Add applicaiton X to android notificationpriorities.
    
    [notifications] Add application X to androidnotificatiopriorities. Contributes to MER#xyz
    
    Some more comments if needed.
    

    Click commit changes

  10. Click "Create merge request"

  11. Click "Submit merge request"

Br, Sage

edit flag offensive delete publish link more

Comments

thanks for providing an official way how to get this finally solved.

dmnk ( 2016-11-29 13:44:17 +0200 )edit
4

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

schturman gravatar image

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

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 +0200 )edit

<3 !!!!1einz

alboe ( 2016-05-18 13:28:01 +0200 )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 +0200 )edit
4

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

Sage gravatar image

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

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 +0200 )edit

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 +0200 )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 +0200 )edit
2

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

olf gravatar image

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

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 +0200 )edit
0

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

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 +0200

olf gravatar image

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

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
0

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

olf gravatar image

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

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 +0200

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 +0200

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 +0200 )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 +0200 )edit

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

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

I did, doesn't make a difference

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

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

drummer12 ( 2016-05-16 18:08:22 +0200 )edit
Login/Signup to Answer

Question tools

Follow
39 followers

Stats

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

Seen: 8,716 times

Last updated: Feb 09