-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Android only) Notifications don't arrive when a cellphone is locked #726
Comments
I'm not really sure how to replicate this. My android device (Moto E, Android 7) doesn't show this behavior at all. If you can install |
Ok, I think I may have a solution
|
The issue happens only when the cellphone is running on battery. If connected to an external power, all notifications arrive successfully |
closing as OP confirmed latest fix above resolves this issue |
Just to clarify. This is what fixed this issue my $android_message = { |
Platform & OS Version
Android 9.0 Pie
The version of zmNinja you are reporting:
1.3.021
The version of ZoneMinder you are using:
1.32.2
Device details:
Google Pixel XL
What is the nature of your issue
Bug
Details
Push notifications don't arrive if the phone has been locked for some time (usually, more than 10 min). The notifications DO arrive immediately as the phone gets unlocked.
There is no issues with notifications of all other applications. Disabling battery optimization for zmNinja does not help as well as turning off Adaptive Battery feature (system wide).
Thanks!
The text was updated successfully, but these errors were encountered: