As of today, somehow my notifications are back to normal as far as I can tell. I don't know what triggered it, but happy to see it 😎
Push notifications delayed
I have a security (trail cam) using Ucon app to alert me when someone starts up my driveway. Running on both Pixel 5 and Pixel 6 with all notifications set correctly for app, battery settings correct, etc. and Display->Lock Screen->Wake for notifications set.
I get correct notifications if screen is on and for maybe 5 minutes after screen is off. After that, notifications are there but never wake the screen from sleep. As soon as I tap to wake the notifications are there. I even went into Developer Options and turned off Wi-Fi scan throttling and didn't help.
Notifications are instant (icon shows on status bar) when I wake from sleep, so the app is sending the notifications correctly.
Guess I spoke too soon. After phones sitting overnight, when the cam sent a push notification this morning it didn't wake up and notification sat waiting until I woke phone from sleep. SMS message notifications always show up. Tried running Wi-Fi on P6 and Cellular Data on P5.
Consistent notifications is pretty fundamental stuff. Really frustrating to not have these wake up the phone, even set to show on Lock Screen and wake lock screen.
skyking Reviews on the Play page seem quite mixed and there are complaints about notifications. Is this app known to work well with Google's stock OS?
The Ucon app uses several notification channels but the three main ones are Push, Misc, and System. Through testing by setting each to Urgent to get a popup toast it appears that the app is using Miscellaneous. Most of the time notifications arrive within 10 seconds after the camera trips from motion. Occasionally notifications are delayed 1-5 minutes (unacceptable for using the cam as security as someone tripping it at the bottom of my driveway would already be at the front door by the time I receive the alert.
The issue is notifications are NOT waking the P6 from sleep after the screen has been locked for a period of time. I have tried the following settings and apps that specifically wake on notification:
GrapheneOS - Display->Lock Screen: Wake screen for notifications
Automate app - using 'Wakeup on notification' Flow
aodNotify for Pixel app - (very cool notification LED simulation and AOD preview options) Wake Screen setting ON
Glimpse Notifications app - set Lockscreen display time and Persistent notification set ON
Wake Up Screen app - simple wake on notification
In every single case, these all will wake from sleep and show notifications (depending on how they're configured) IF the P6 screen was locked within the last 5 to 10 minutes. Any longer than that, it never wakes up on notifications. When I tap to wake the notification icon is in the status bar waiting and I immediately get a notification sound and if set to Urgent, a popup toast. Adaptive Battery is off, uConn and these notification apps are not restricted by battery optimization. But something is happening after a certain sleep time to keep notifications from waking. Very frustrating, been at this for two whole days testing and trying all combination of options and settings still no joy.
Forgot to mention that sometimes notifications show up 10 minutes late. Not sure if it's the notification just arriving or the phone finally wakes up from a pending notification that's been sitting there.
Running the Automate 'Get all current notifications' flow, I pulled up the detail for a Ucon notification and it's using FCM. Perhaps the connection to FCM is getting closed in sleep? Throwing everything at the wall to see what sticks...
skyking Perhaps the connection to FCM is getting closed in sleep?
The GrapheneOS instructions for installing Play Services include:
You should give a battery optimization exception to Google Play services for features like push notifications to work properly in the background. It isn't needed for the other 2 apps.
Has that been done?
- Edited
de0u Nothing special. Tried running on WiFi alone and on Cellular Data alone, same result. Camera runs over cellular network (LTE) so maybe it's sending out the notification directly and Ucon just interfaces with the camera to change settings, see livestream, and download saved pics or videos. Not sure. Seems convoluted for cam to talk to Ucon on mobile then uCon sends out a notification via FCM only to come back to same mobile.
Ucon does not have a persistent setting and sending to background or quitting makes no difference in delayed notifications.
Thanks for the input - still troubleshooting...
Update: Issue resolved. After wasting 3 days on this it turned out to be a weak cellular data signal. Had only 1 bar using the SIM that came with the camera (30 days and 300Mb free) using Verizon network. I replaced it with a SIM from SpeedTalk (250Mb/mo for $5 using T-Mobile) that gets 2-3 bars. Now when the camera trips from motion I get a notification instantly even when the P6 has been sitting overnight.
- Edited
I’ve just switched from iOS to GrapheneOS a few days ago on Pixel 6a, and I’ve been facing the same problem since the beginning.
Today I’ve figured out that there is another notification settings here:
Settings > Apps > Special app access > Device & app notifications
Here the only allowed app was the Launcher. And the GPS was under the Not allowed header.
I’ve just allowed notification access for GPS as well, however I don’t know yet whether this will work. And I don’t know whether this will cause any security issues which we avoid from.
There are some detailed sub settings under this menu such as Real-time, Conversations (SMS etc), Notifications… And at the bottom, you can click on See all apps and choose the apps you want to activate for this settings.