Comment to 'Push notification are not working.'
  • The problem was that in OneSignal > Settings > All Browsers (Except Safari) 

    Typical Site was chosen, after switching to Custom Code it started to work: