Description
Operating System
Android 15 QPR1 (security update December 5, 2024)
Environment (if applicable)
Chrome PWA
Firebase SDK Version
11.0.2
Firebase SDK Product(s)
Messaging
Project Tooling
Nx + Angular + firebase
Detailed Problem Description
When receiving a push notification while the pwa is minimized (running in the background), clicking the notification doesn't open the pwa. This has been working for years, and stopped now with Android 15 QPR1. It still works with Android 15 QPR1 if the pwa is not running, then it opens the pwa with the link in the notification. But if the pwa is minimized and should be restored/focused (via "launch_handler.client_mode: focus-existing"), nothing happens when clicking the notification, and it seems the pwa is crashing when opening it after that... Clicking notifications for websites not installed as pwa also still works, it's just minimized pwa's having the problem....
This may of course be an android problem, it still works on all other platforms, but either webpush is broken on android 15 QPR1, or there are some new api or setting firebase has to use to make it work on the newest android version... Either way this seems like a BIG problem that google would like to know about....
I have tested this on Pixel 8 and Pixel tablet, and tested it that it was working fine before QPR1 and failing after on both.
Steps and code to reproduce issue
Try via any pwa with push notifications... for instance this pwa test app:
https://progressier.com/pwa-capabilities/push-notifications
Follow the steps, send a notification and minimize (not close) the pwa before clicking the notification...
I works on every platform, including android 15 with november update, but fails with android 15 with decemer update (QPR1)