mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
d378fabc01
* Push receiver: read the declarative notification from the push event (Safari history fix) On an iPhone the pushes arrived with the right content, but every history entry was the generic placeholder: with "mutable": true Safari (iOS >= 18.4) dispatches the regular push event with the proposed Notification in event.notification and event.data null, and the worker read only event.data. The push handler now takes event.notification first and shows the same content itself (one notification, entry written at arrival); a tap on a notification the platform displayed without the worker rebuilds the entry from the Notification's data, and the click path's history write is bounded like the push path's. Tests pin both paths. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * bump pointer: internal (push-relay: Safari declarative-push finding) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>