home-assistant / home-assistant/iOS

Notification actions and image attachments broken on 2026.7.4 (iOS 26.5.2)

Open
#5,434 1 comment 2 reactions 0 assignees View on GitHub
bug ios
Dominant language
Swift
Stars
2.4k
Forks
520
Avg merge
7h 27m
Merged PRs (30d)
264

Description

**iOS device model, version and app version**
Model Name: iPhone 13
Software Version: iOS 26.5.2
App version: 2026.7.4

**Home Assistant Core Version**
HA Core version: 2026.8.2

**Describe the bug**
Two related symptoms on this specific device, both appeared together after
updating to app version 2026.7.4:

1. Actionable notification buttons (defined via the `actions` field in the
notify service call) are displayed but do nothing when tapped — no event
is fired, no visible reaction on the device.
2. Notification image attachments (sent via the `image` field, e.g. a camera
snapshot on person detection) do not display in the notification.

Another device on the same Home Assistant instance (different iPhone, app
version 2026.7.3) receives the same notification payloads correctly — both
the image and the action buttons work as expected. Only this specific
device/app-version combination is affected, which points to a regression
introduced between 2026.7.3 and 2026.7.4 rather than a server-side config
issue.

**To Reproduce**
1. Send a notification via `notify.mobile_app_` with both an `image`
attribute and an `actions` list (see example payload below).
2. On the affected device: notification arrives with title/message, but no
image and the action button does nothing when tapped.
3. On another device (app 2026.7.3) with the identical automation/payload:
both image and action work correctly.

Example service call data:
data:
title: "Test"
message: "Test message"
data:
image: "/api/camera_proxy/camera.xxx"
tag: "test_tag"
actions:
- action: "TEST_ACTION"
title: "✅ Confirm"

**Expected behavior**
Image attachment should display in the notification, and tapping the action
button should fire a `mobile_app_notification_action` event in Home
Assistant.

**Additional context**
- iOS Time Sensitive Notifications permission is enabled for the app.
- Notification permissions fully allowed (alerts, sound, badges).
- Reinstalling/re-registering the app has not been tried yet on this device.
- Both image attachments and notification actions are processed through the
Notification Service Extension, so a single regression there could
plausibly explain both symptoms — but this is a guess, not confirmed.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with a notification containing both the `image` field and an `actions` list, then compare behavior on app versions 2026.7.3 and 2026.7.4 using the provided payload. Start by inspecting the Notification Service Extension, where both features are processed. Done means the image displays and tapping the action fires a `mobile_app_notification_action` event on the affected device.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.