Open WGinit opened 2 years ago
Hello @WGinit
please add this line " requireInteraction: true"
<script> Push.create("HELLO WORLD",{ timeout: 5000, requireInteraction: true, body: 'This is body text', onClick() { console.log("close") } }).catch(e => { alert('Please enable notification') // console.log('e') }) </script>
chrome version: Version 104.0.5112.101 (Official) (ARM64)
The notification permission has been granted