•  · 3 friends

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?

0 0 0 0 0 0
  • 77
Replies (7)
  • 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!

    0 0 0 0 0 0
    • Should work if you get it right, it works for me 

      0 0 0 0 0 0
      • 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.

        0 0 0 0 0 0
        • 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?

          0 0 0 0 0 0
          • 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")

            0 0 0 0 0 0
            • No need to add any files more. About your situation - try to clear the caches via Studio->Settings->Cache area and refresh your browser.

              0 0 0 0 0 0
              • I'm not sure but I think that cache was already disabled...
                So what should I do now to make push notifications work?

                0 0 0 0 0 0
                Not logged in users can't 'Comments Post'.
                4
                1
                1
                2
                Added:
                Category:

                UNA - Social Media Software Framework

                Close