Last active
February 22, 2022 13:56
-
-
Save EstebanFuentealba/d8b7b21322909f8ca475499bdaedca38 to your computer and use it in GitHub Desktop.
This file contains 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
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<script | |
src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" | |
async="" | |
></script> | |
<script> | |
window.OneSignal = window.OneSignal || []; | |
OneSignal.push(function () { | |
OneSignal.init({ | |
appId: 'a85f93c8-f95e-4d5b-88ba-5df60a5bf377', | |
}); | |
setTimeout(()=> { | |
OneSignal.showNativePrompt(); | |
}, 2000); | |
}); | |
</script> | |
</head> | |
<body> | |
<h1>Hello there!</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment