Created
January 5, 2017 01:36
-
-
Save yogasukma/7cd0a2fda59c9c94ebc808fd906e9345 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async='async'></script> | |
<script> | |
var OneSignal = window.OneSignal || []; | |
OneSignal.push(["init", { | |
appId: "xxxx", | |
subdomainName: 'zzzzz', | |
autoRegister: false, /* Set to true to automatically prompt visitors */ | |
httpPermissionRequest: { | |
enable: true | |
}, | |
notifyButton: { | |
enable: true /* Set to false to hide */ | |
} | |
}]); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment