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.
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.
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.