-
-
Notifications
You must be signed in to change notification settings - Fork 271
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 9 - No notification sound [with resolution] #814
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you follow the issue template or I may not respond. |
Thanks - this is very useful (till I know if phonegap-plugin-push has a solution for this) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey, @twau tell me please - where did you find option to enable sound notifications in zmNinja settings? |
The steps and pictures above is for the Android system settings, these options is not located inside zmNinja. Open android Settings and then Apps & notifications and search for zmNinja in there. |
I got it but you wrote:
Where is the latest - zmNinja part? |
Ah now I understand :-) Checked myself and I could not find it either anymore, found that it's now removed pliablepixels@992a697, its now handled with the system notifications settings. |
Oh, I see. Thank you for clarification! |
The thing is that on Huawei tablet I have no PhoneGap PushPlugin item in zmNinja notifications. |
@pliablepixels, perhaps there are any plans to move sound management back to the app? |
I am not sure what the issue is anymore. I just tested on Android 9. a) You need to be on the latest zmNinja app on play store (1.6.002 I think) If you are not on ES 6.0.6 or not on 1.6.002 of zmN, things will not work as intended Now, assuming you are on the latest: I get the right sound for my notifications all the time |
Hi, thank you for the prompt reply. |
Hi, the latest stable ES is 6.0.6. A few notes:
So bottom line:
|
Hi, thank you for your help.
I updated ES to 6.0.6 (no issues. all dependencies Ok), generated new certs, put them in /etc/apache2/ssl/, edited configs
and
but on recommended test run got the error
What could be wrong with that? |
It might be that it doesn’t have read permissions. |
No, 755 for /ssl directory and 644 for both key files, owner is root off cause. |
You are running it with sudo www-data not root. If the file actually exists it means www-data likely cannot read it. |
Oh, yes, missed that, thank you. File copied successfully by What else in the script could produce such an error? |
On looking at the error it actually seems to be a token issue. Note the weird line break in the error message. |
Your zmeventnotification.ini as posted is wrong. You have duplicate definitions of cert and key. |
Strings
were looking like needed ones, so I decided just to uncomment and edit next two with paths. Let me check the main issue - with sound |
Which android version are you running? I am testing on 8 and 9. |
It's 7, tablet details screenshot I posted above. |
If you are on android 7, try making |
|
Some Android 9 phones have problem with no notification sound even if its enabled in both the general android settings and zmNinja settings. It only vibrates when receiving an notification but plays no sound. Then you might have to change the notification sound in the "PhoneGap PushPlugin"as described below.
Workaround to fix this is to go to:
This worked on both OnePlus 6 and Samsung Galaxy A8 2018 running Android 9.
zmNinja version:1.3.056 (android)
ZoneMinder version:1.32.3
OnePlus 6 with latest update 9.0.5, Android 9.
Samsung Galaxy A8 2018 running Android 9.
The text was updated successfully, but these errors were encountered: