Notifications on secondary user
I have an up-to-date GrapheneOS on a Pixel 6 with two profiles. I have been running a work profile for a while using Shelter and I never had any problem with notifications. Recently I transitioned to having Play Services on the secondary profile and no Play Services on the primary one. I then installed messaging apps (Signal, Whatsapp) on the secondary profile. Now I don't get notifications if the phone has been locked for a while until I open the app.
Research and troubleshooting that I did:
- I understand there's a maximum of how many users you have "active" but I only have 2 and most of time the "on-screen" user the the secondary (I barely use the primary user).
- Gave Play Services all permissions possible (including unrestricted battery profile), didn't work
- Gave Signal and Whatsapp unrestricted battery profile, didn't work
- I tend to get notifications around 10ish minutes after I lock my phone, then the only way to keep getting them is open Signal and/or Whatsapp continuosly. Unlocking my phone and having the secondary profile on the screen does not get me notifications
It's only Play services requiring Unrestricted battery, not the apps using FCM unless they're not using FCM but rather than own push. Make sure you don't have anything like battery saver enabled. Make sure you haven't disabled the Play Store.
Play store is enabled. Play services has unrestricted battery profile.
Update: it seems to be all apps, so it discards apps using their own push. Also noticed that when I restart the phone I do get push notifications fine for a few hours and the it breaks again.