By shoulders on Friday, 09 March 2018
Posted in Technical Issues
Likes 0
Views 884
Votes 0
This might me being a newbie but Komento and easyblog declare OneSignalSDK.js twice.

1) added to the header (but only 1 copy)

<script type="text/javascript" charset="UTF-8" src="https://cdn.onesignal.com/sdks/OneSignalSDK.js">


2) added into the inline javascript. Komento and easy blog both have this but only one copy of this code is added.

Komento.require()
.script('https://cdn.onesignal.com/sdks/OneSignalSDK.js')
.done(function($) {
var OneSignal = window.OneSignal || [];
OneSignal.push(["init", {
appId: "6c311751-ea75-4c60-a0d1-e1ee657d6e0d",

subdomainName: 'https://NjEzNjQ4OGMtMmZiMy00MmRiLWFhMTEtOTQ4MDQyNGZiZjc1',

autoRegister: true,
notifyButton: {
enable: false
}
}]);


thanks
Hey shoulders,

To be honest with you, I am not entirely sure if this should be classified a bug or a teething issue with onesignal but nevertheless, I have already created a ticket for this internally and we'll check with Onesignal on the best possible scenario / work around for this.
·
Saturday, 10 March 2018 14:55
·
0 Likes
·
0 Votes
·
0 Comments
·
thanks and I appreciate this is a low priority issue.
·
Saturday, 10 March 2018 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Saturday, 10 March 2018 21:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post