Support » Plugin: OneSignal - Web Push Notifications » Console error in Site Home page

  • zotezo

    (@zotezo)


    Hi,
    After adding the plugin site homepage showing these errors-
    OneSignalShimLoader.js:37 window.OneSignal already defined as ‘function’!
    Please make sure to define as ‘window.OneSignal = window.OneSignal || [];’ class Gt{static setDefaultNotificationUrl(e){return zt(this,void 0,void 0,function*(){if(!Ht.isValidUrl(e,{allowNull:!0}))throw new InvalidArgumentError.a(“url”,InvalidArgumentError.b.Malformed);yield Obje…

    OneSignalShimLoader.js:37 window.OneSignal already defined as ‘function’!
    Please make sure to define as ‘window.OneSignal = window.OneSignal || [];’ class Gt{static setDefaultNotificationUrl(e){return zt(this,void 0,void 0,function*(){if(!Ht.isValidUrl(e,{allowNull:!0}))throw new InvalidArgumentError.a(“url”,InvalidArgumentError.b.Malformed);yield Obje…

    manifest.json:1 GET https://www.domain.com/manifest.json 404
    15:42:10.080 manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.

    How to solve those error?
    Thanks,
    Dwaipayan

  • You must be logged in to reply to this topic.