OneSignal plugin is not working

Hi,
I installed this plugin: OneSignal - Push Notifications

I followed the instructions here: OneSignal plugin for web-based push notifications

I’m trying to send a notification to the logged-in user, but no permission prompt appears nor notification received.

There is a warning message in the Chrome console:

A cookie associated with a cross-site resource at http://onesignal.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at Chrome Platform Status and Chrome Platform Status.

How to solve it?
Thanks.