Android app crashes when a Push Notification arrives

Hi all,

The android phone of my wife crashes when a notification arrives.

Any ideas how to debug this a bit more?
As use the iPhone app I“m a bit unskilled.

App version is: 3.14.0

BR
/Franz

I haven’t noticed this myself. Can you show us how you’re sending the notification, so we can try to reproduce this issue?

@digitaldan It seems that there’s a breaking change in notifications since yesterday:

grafik

Exception is Fatal Exception: java.lang.NumberFormatException: For input string: "Mon Jul 01 2024 08:07:41 GMT+0200 (Central European Summer Time)" when parsing incoming notifications. It happens when parsing something as Long, so I guess it’s the timestamp field: openhab-android/mobile/src/full/java/org/openhab/habdroid/core/FcmMessageListenerService.kt at main · openhab/openhab-android · GitHub

Having the same issue here…

Yes, no notifications since yesterday and I can see the same exception in the apps log.

Got it, I’ll push out a fix here very shortly

this PR:

is deploying right now, should be about ten minutes.

1 Like

This is deployed, hopefully this fixes it :crossed_fingers:

3 Likes

Thank you!
Notifications working again here.

Thank you so much for the quick fix, everything works again :slight_smile:

Thanks! Works like a charm now