Here is code Sample --
Can you please reply with your experience.
messaging.requestPermission().then(() => { console.log(\'