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"

Post Reply
ddiiccoo
Posts: 5
Joined: Thu Apr 29, 2021 6:36 am

How to make CEF4delphi support "Web Notifications" and "Push Messages"

Post by ddiiccoo »

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?
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to make CEF4delphi support "Web Notifications" and "Push Messages"

Post by salvadordf »

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.
ddiiccoo
Posts: 5
Joined: Thu Apr 29, 2021 6:36 am

Re: How to make CEF4delphi support "Web Notifications" and "Push Messages"

Post by ddiiccoo »

understand,thanks
Post Reply