mercredi 29 mars 2017

Onesignal could not load iframe error

Iam having issues after I changed the subdomain of my app, it was working the day before but now it doesn't it shows me the message

OneSignal: Could not load iFrame with URL http://ift.tt/2o6GLJd. Please check that your 'subdomainName' matches that on your OneSignal Chrome platform settings.

<script>
  var OneSignal = window.OneSignal || [];

  var OneSignal = window.OneSignal || [];
  OneSignal.push(["init", {
    appId: "MyAppID", // copied correctly the UUID
    autoRegister: false, /* Set to true to automatically prompt visitors */
    subdomainName: 'acacito',
    httpPermissionRequest: {
      enable: true
    },
    notifyButton: {
        enable: true /* Set to false to hide */
    }
  }]);
</script>

I have been trying to make it work deleting cookies or any data related that could be stored in the browser and it doesn't work. Also reloading with Ctr+Shit+r, not sure what happens.




Aucun commentaire:

Enregistrer un commentaire