I have problems with push notifications for some sites which using it if open them (sites) in webview. If sites opened in nw.js without webview all working fine.
NWJS Version : 0.26.6
Operating System : Windows 10, MacOS 10.12
P.S. I check this problem on v0.27.5 but get error in dev console of webview:
ErrorUtils caught an error: "Failed to register a ServiceWorker: IPC connection was closed or IPC error ha...". Subsequent errors won't be logged; see https://fburl.com/debugjs.
H @ s7-5se_RG_J.js:51
and serviceWorker of website in that case was not created
Hi.
I have problems with push notifications for some sites which using it if open them (sites) in webview. If sites opened in nw.js without webview all working fine.
NWJS Version : 0.26.6 Operating System : Windows 10, MacOS 10.12
Expected behavior
push notification is shown
Actual behavior
push notification is not shown
How to reproduce
package.json
index.html
It is assumed that notifications are switch on inside facebook (here).
If open facebook.com without webview, all work fine, i.e. package.json:
Why?
P.S. I check this problem on v0.27.5 but get error in dev console of webview:
and serviceWorker of website in that case was not created