No notifications on Android 9

Delta Chat version

0.510.1

Expected behavior
Get notifications when new messages arrive.

Actual behavior

No notifications when new messages arrive

Steps to reproduce the problem
Set up my device (Moto Z3 Play Version from f-droid,) and the device of a friend (Moto G7 Plus, Play Store). Same provider (posteo.de), Android 9
2. Send a new message. The message arrives, but there is no notifications.
3. The Accu optimization is off.
4. Notifications are on for the app.

Debug logs

Logs No log possible because I am a new user and the log contains more than two links.
1 Like

I found this in the logs:
08-07 21:35:28.462 14374 15142 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method ‘android.net.Uri android.net.Uri.getCanonicalUri()’ on a null object reference
08-07 21:35:28.462 14374 15142 W System.err: at android.media.Ringtone.play(Ringtone.java:358)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.MessageNotifier.playNotificationSound(MessageNotifier.java:285)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.MessageNotifier.notify(MessageNotifier.java:334)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.MessageNotifier.sendSingleChatNotification(MessageNotifier.java:215)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.MessageNotifier.sendNotifications(MessageNotifier.java:189)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.MessageNotifier.updateNotification(MessageNotifier.java:105)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.MessageNotifierCompat.lambda$updateNotification$0(MessageNotifierCompat.java:34)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.-$$Lambda$MessageNotifierCompat$AwMZbMG_e2YI-_3Fb079nX9au-U.run(Unknown Source:4)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.util.Util.runOnAnyBackgroundThread(Util.java:331)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.notifications.MessageNotifierCompat.updateNotification(MessageNotifierCompat.java:34)
08-07 21:35:28.463 14374 15142 W System.err: at org.thoughtcrime.securesms.ApplicationContext$1.handleEvent(ApplicationContext.java:100)
08-07 21:35:28.463 14374 15142 W System.err: at com.b44t.messenger.DcEventCenter.lambda$sendToObservers$1(DcEventCenter.java:77)
08-07 21:35:28.463 14374 15142 W System.err: at com.b44t.messenger.-$$Lambda$DcEventCenter$LOBBevoK2ZvITYKANy0AYd25Sp0.run(Unknown Source:8)
08-07 21:35:28.463 14374 15142 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
08-07 21:35:28.463 14374 15142 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
08-07 21:35:28.463 14374 15142 W System.err: at java.lang.Thread.run(Thread.java:764)

I’m experiencing the same thing. I have all background data settings turned on, battery optimization turned off, notification priority set to Max. No notification sound or visual notification at all. Open the app and the message is there though.

Delta chat is unusable like this.

Hello
I am a huge fan of Delta Chat, use it every day with family since 2018.
Notifications was OK before.

problem : no more notification since version 0.510 (not sure, but i think the problem started with this update).

OS: Lineage OS 14.1
Device : OnePlus X

Same problem for my wife
OS : lineage OS 15.1
Device : OnePlus 3

I hope you can fix it soon because the use of the app is hard without notifications.
Thanks !

3 Likes

Hi there and welcome on board,

there is a open issue already for this:

https://github.com/deltachat/deltachat-android/issues/1008

So I think the devs working on it :+1:

It also doesn’t work on normal Android 9 with Google Apps installed.

the fix was merged yesterday \o.o/
anyone know when new (fixed) version hits the playstore?

the plan is to release a new development version later today or tomorrow.
if things are fine, a new version will probably hit gplay next week or the week after next.

1 Like

nice, thanks

Hello, is there any chance to get a new version of Delta Chat in Fdroid soon ? We are still stucked on 0.510 and still have no notifications…

well, soon is relative :slight_smile:
however, you can follow the progress for a stable 1.0 version at releasing and fixing things · GitHub

f-droid will cause some additional problems, see make f-droid ready for using the new rust libraries · Issue #1111 · deltachat/deltachat-android · GitHub - - any help is welcome (not only) here :slight_smile: