Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
How to make CEF4delphi support "Web Notifications" and "Push Messages"
How to make CEF4delphi support "Web Notifications" and "Push Messages"
when i test my browser at http://html5test.com/,i found my browser can't support "Web Notifications" and "Push Messages".how to make it support?
- salvadordf
- Posts: 4578
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to make CEF4delphi support "Web Notifications" and "Push Messages"
Hi,
CEF doesn't support web notifications and push messages if you use the current components to embed a browser.
...however, the new "ChromeRuntime" mode supports them!
The CEF project maintainer said that ChromeRuntime is still in experimental state so I wouldn't use it yet. In addition to that, I'm still fixing a bug in the "views framework" that will be used to embed a browser in ChromeRuntime mode in the future.
So, for now you have to use alternative ways to send a message from the render process to the browser process and then show a custom notification from your application.
CEF doesn't support web notifications and push messages if you use the current components to embed a browser.
...however, the new "ChromeRuntime" mode supports them!
The CEF project maintainer said that ChromeRuntime is still in experimental state so I wouldn't use it yet. In addition to that, I'm still fixing a bug in the "views framework" that will be used to embed a browser in ChromeRuntime mode in the future.
So, for now you have to use alternative ways to send a message from the render process to the browser process and then show a custom notification from your application.