Push notifications for game start when the tab is backgrounded
Posted: 12 October 2024, 03:46
It'd be great if BGA could use the Web Push API to send notifications when a game is about to start. Countless times, I've lost reputation because I join a game or start waiting for an arena game, and then move to another tab. When a tab is inactive for a while browsers often suspend execution of scripts, so I don't get the "ding" noise when a game is about to start. I later return to the tab, only to see I was out of time and have been removed from the game. You can get around that by using web push, which sends a notification directly to the browser, regardless of whether the page is active.