Push Notifications Not Working
Today I tried to add Push Notifications to my website using OneSignal...
I copied the given HTML in the head injections tab and added the OneSignal App ID and Rest API Key in the Settings>System>Push Notifications.
Now when I send a new push from OneSignal dashboard it works but una notification doesn't show...
What am I doing wrong?
Did you install the "files" to the root of your site? I can help you get started if you've not been able to get it setup.
I couldn't run my site without the push notifications!
Should work if you get it right, it works for me
Hello Leonardo Zen !
No need to copy the One signal code and put it into injections. It's just enough to fill the OneSignal App ID and REST API Key in the Studio->Settings->Push notifications area.
did I have to add some additional files in the root of my site? 😅
If so, could you please tell me what files and where should I put them?
Ok, removed the code from injections and it's the same as before... it works for messages I write from the OneSignal dashboard but not for the Una notifications (f.e.: "Mark has befrended you")
No need to add any files more. About your situation - try to clear the caches via Studio->Settings->Cache area and refresh your browser.
I'm not sure but I think that cache was already disabled...
So what should I do now to make push notifications work?
Not logged in users can't 'Comments Post'.