mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 14:40:52 +00:00
Enabling Browser Push showed only "Activation failed" whenever pushManager.subscribe() rejected. Brave keeps push messaging off by default and rejects with "AbortError: Registration failed - push service error", which left people with nothing to act on. The browser's own refusal is now classified apart from the server answers around it. An AbortError from subscribe reads as the push service refusing and links the Browser Push docs; in Brave the message names the setting under brave://settings/privacy. A blocked permission stays blocked, and a dismissed prompt or a rejected key keeps the generic message. The subscribe flow moves out of the card component so it stays under the function size baseline. Refs Discussion #1378