Like sowbug mentioned in his comment, this can be done through Data URL. Documentation and example can be found in Google's documentation at: http://developer.chrome.com/apps/app_external
Remote image as notification icon in Chrome Packaged App?
-
16-06-2023 - |
题
I'm writing this app and would like to display Chrome notifications with certain remote images as notification icons.
I am aware that you are not allowed to directly assign the URL of a remote image as the notification icon, so I assume I would first have to download the remote image via some sort function and then use the now local image as a notification icon.
How could this be achieved?
Thanks in advance
解决方案
不隶属于 StackOverflow