-
-
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
zmNinja push toasts not fully rendering image #813
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. |
Did you validate with an external picture? Last point of this section |
If you mean does the image load via a browser externally yes it does. I have verified the picture url being generated in the payload and is valid and functions after being submitted. |
No, I mean did you try with a different image (public image). Please read the section I linked to (last bullet point) |
Yes, sorry miss read your question.. But I did, see below.
|
|
picture_url = https://upload.wikimedia.org/wikipedia/commons/5/5f/Chinese_new_year_dragon_2014.jpg I get the same issue. |
Did you restart the ES? Config changes need reload |
Yes - I am running it as a daemon and the process is restarting. (verified via new process ID)
|
I can send you an actual link to an image url on my server if you want offline. |
If we can't figure out, we may have to dive deeper to see what is going on - maybe inside the device, using I'm generally available in the ZM slack channel too (US ET) |
Yep please do (pliablepixels gmail) |
Sure, I will hop on ZM slack and send you the url offline. I might be on to something.. |
I was in the process of reenabling manual mode as you wrote that.. :) |
ES log of Forced Alarm event with debugging on via console mode.
|
Figured it out, the url parameters need to be URL safe; (in the case of the password, it needs to be URL encoded) To be clear my password I generated had a # and a = sign in it. Thanks for all the support, keep up the great work. |
Sounds good. |
Platform & OS Version
Android 8.0.0
The version of zmNinja you are reporting:
1.3.056
The version and OS of ZoneMinder you are using:
1.32.3, Ubuntu 18.06
Device details:
LG V30
What is the nature of your issue
Possible Bug / Question
Details
I am able to generate events and have them push to my phone via the event service via FCM as well as web socket. (Over the internet and local wifi). I have verified the token being registered as well as the payload submitted to FCM. I have verified the picture url being generated in the payload and is valid and functions after being submitted. But the push notification toast does not contain the image, the push notification space is accommodating the image size but nothing is rendered other than the text. I have tried disabling FCM and I have the same behavior. I have pulled down the app code to start debugging it further but I thought I would ask if anyone one has see this before. I will get my build environment up and try to test with different versions of android builds. I wonder if its an android 8.0 issue, since some of the push toast APIs did change in 8 i have read.
zmNinja Debug Logs
Example PUSH notification in App
Zoneminder Logs (if applicable)
FCM payload example from logs
Image of push notification missing image example:

Any help or suggestions to try would be helpful.
Thanks!
The text was updated successfully, but these errors were encountered: