Skip to content

Comments

Fix push-to-start Live Activity: restore required alert content#136

Merged
JulianKahnert merged 1 commit intodevelopfrom
feature/fix-apns-alert-required
Feb 21, 2026
Merged

Fix push-to-start Live Activity: restore required alert content#136
JulianKahnert merged 1 commit intodevelopfrom
feature/fix-apns-alert-required

Conversation

@JulianKahnert
Copy link
Owner

Summary

  • Restores title: .raw("empty"), body: .raw("empty") in APNSStartLiveActivityNotification
  • Adds a comment documenting why a non-empty alert is mandatory

Background

Per testing, iOS silently drops push-to-start notifications when APNSAlertNotificationContent has no title/body — the Live Activity never appears on the device. Apple's APNS documentation lists alert as optional, but in practice a non-empty title and body are required for the Live Activity to be shown.

Test plan

  • Window opens → Live Activity appears on device

iOS silently drops the notification if alert title/body are absent,
causing the Live Activity to never appear on the device.
Add comment documenting this requirement.
@JulianKahnert JulianKahnert merged commit ec1095b into develop Feb 21, 2026
4 checks passed
@JulianKahnert JulianKahnert deleted the feature/fix-apns-alert-required branch February 21, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant