Skip to content

Images don't show in notifications 2024.4.1-full #4342

@jonny190

Description

@jonny190

Home Assistant Android app version(s): 2024.4.1

Android version(s): 15 and 14

Device model(s): Google Pixel 8 Pro

Home Assistant version: 2024.4.2

Last working Home Assistant release (if known):

Description of problem, include YAML if issue is related to notifications:

Using a basic service call from HA:

service: notify.mobile_app_pixel_8_pro
data:
  message: "Camera Test"
  title: Test
  data:
    # example of a relative url
    image: "https://github.com/home-assistant/assets/blob/master/logo/logo.png?raw=true"

I get the notification on my device but no image expanded or not, this was originally noticed when trying to use Alarmo to send a camera thumbnail, so to test I tried using the service call to send a camera thumbnail. With previous tests failing I fell back to RTFM page with that failing i thought i'd check the logs for anything obvious (see below)
Companion App Logs:

04-12 13:03:58.223  6141 20029 W FirebaseMessaging: Unable to log event: analytics library is missing
04-12 13:03:58.223  6141 20029 D FCMService: From: 331041709873
04-12 13:03:58.224  6141  6141 D MessagingService: Creating notification with following data: {image=https://github.com/home-assistant/assets/blob/master/logo/logo.png?raw=true, title=Test, webhook_id=67deeb1d140fb37f7a40696c75cf4f4515a24986807a4f0ae7efebf80596193f, message=Camera Test, server_id=2}
04-12 13:03:58.227  6141  6141 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
04-12 13:03:58.227  6141  6141 D ServerConnectionInfo: Using external URL
04-12 13:03:58.255  6141 19946 D HWUI    : --- Failed to create image decoder with message 'unimplemented'
04-12 13:03:58.259  6141  6141 D MessagingService: Show notification with tag "null" and id "-768512881"
04-12 13:03:58.624  6141 20029 W FirebaseMessaging: Unable to log event: analytics library is missing
04-12 13:03:58.624  6141 20029 D FCMService: From: 331041709873
04-12 13:03:58.624  6141  6141 D MessagingService: Creating notification with following data: {image=https://github.com/home-assistant/assets/blob/master/logo/logo.png?raw=true, title=Test, webhook_id=67deeb1d140fb37f7a40696c75cf4f4515a24986807a4f0ae7efebf80596193f, message=Camera Test, server_id=2}
04-12 13:03:58.626  6141  6141 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
04-12 13:03:58.626  6141  6141 D ServerConnectionInfo: Using external URL
04-12 13:03:58.657  6141 19946 D HWUI    : --- Failed to create image decoder with message 'unimplemented'
04-12 13:03:58.659  6141  6141 D MessagingService: Show notification with tag "null" and id "-768512480"
04-12 13:03:58.730  6141  6141 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: true, expireMillis: 1712923310661, currentMillis: 1712923438730)
04-12 13:03:58.730  6141  6141 D IntegrationRepository: setAppActive(): true
04-12 13:04:02.046  6141 20029 W FirebaseMessaging: Unable to log event: analytics library is missing
04-12 13:04:02.046  6141 20029 D FCMService: From: 331041709873
04-12 13:04:02.050  6141  6141 D MessagingService: Creating notification with following data: {image=https://github.com/home-assistant/assets/blob/master/logo/logo.png?raw=true, title=Test, webhook_id=67deeb1d140fb37f7a40696c75cf4f4515a24986807a4f0ae7efebf80596193f, message=Camera Test, server_id=2}
04-12 13:04:02.054  6141  6141 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
04-12 13:04:02.054  6141  6141 D ServerConnectionInfo: Using external URL
04-12 13:04:02.103  6141 19946 D HWUI    : --- Failed to create image decoder with message 'unimplemented'
04-12 13:04:02.106  6141  6141 D MessagingService: Show notification with tag "null" and id "-768509058"
04-12 13:04:03.986  6141  6141 W Choreographer: Frame time is 0.034419 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
04-12 13:04:04.040  6141 19946 D LogcatReader: Read logcat for pid 6141

Screenshot or video of problem:
Link to video (as too big to upload) https://photos.app.goo.gl/ocprkELQP1fGoC9A9
Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnotificationsquestionFurther information is requested

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions