-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Icon not shown in desktop notifier #73
Comments
may be you can use an emoji |
An emoji!? No the solution would be to allow showing image from path |
Hello @Echecivuole, JoliNotif is PHP library that acts as thin wrapper around the desktop notifiers available on your OS. Here is the list of the supported notifiers: https:/jolicode/JoliNotif/blob/master/doc/03-notifier.md#supported-notifiers If yours users do not have a supported notifier accepting icons installed on their OS, then I guess there is nothing we can do on our side. I'm closing the issue as everything is already explained in the documentation but feel free to reopen if you think about a possible workaround. |
Hello, thanks for explanation. I need to re-open, but I don't find the way, as I think issue is not related to my OSX system, which currently gets already desktop notifications, but the limit of this package to show in the desktop also an image. Any way to show also the image? |
As far as we know, there is no solution. Your users need an icon compatible notifier and then JoliNotif will work as you expect. JoliNotif cannot add functionality on top of Operating System notifications. By the way you never told what system exactly is concerned by your issue. Can you follow those instructions? #70 (comment) and report back here. |
The issue is concerned to ALL OSX for sure, and probably also to Windows OS, which didn't apply specific programmic actions, which we cannot ask to our users. Desktop notification is correctly delivered embedding into the card the variable text. The question is: why the card is not able to embed an image from an URL? |
Again, this package is a small abstraction around the desktop notifiers available on your system. If those notifiers do not accept an option to embed an image, then there is nothing we can do. By default, on OSX we use an AppleScript (through the executable I just checked on latest MacOS with The only thing here we can do here is to change a bit the behaviour of But again, this will work only if yours users have the |
ok thanks for your reply. Got it this is limitation OSX only. Last question: Is the above issue related also to the "TERMINAL-NOTIFIER" text and icon? thanks! |
Related to jolicode#73 Since appIcon is no longer supported, there is this alternative to including an image using -contentImage and this PR adds the ability to set the appImage as an option.
Related to jolicode#73 Since appIcon is no longer supported, there is this alternative to including an image using -contentImage and this PR adds the ability to set the appImage as an option.
Hi, the desktop notifier works fine, but even adding the code
resource_path('image.png')
the image is not showing. I read some other posts for which it would need required to install other package into the OSX o Windows pc, but this cannot be asked to all users using this feature.
Any solution?
The text was updated successfully, but these errors were encountered: