Note: See the "your-custom-subdomain.yoursite.com" part of this demo here.
This site represents the "yoursite.com" user-facing site, which:
http(s):your-custom-subdomain.yoursite.com/popup.html
to communicate with the OneSignal integration (checking for subscribed state, sending tags..etc.)http(s):your-custom-subdomain.yoursite.com/subscribe.html
to actually subscribe users to push.Users are actually subscribing to push notifications in a new window pointing to http(s)://your-custom-subdomain.yoursite.com/subscribe.html
.
Please follow these instructions to wipe your site's storage and reset your notification permissions.
Be sure to close all existing tabs to this site after following those instructions, or simply restart your browser, to complete the reset process.
Be sure to open the Chrome Developer Tools console and look at the logs too!
You're subscribed! The following user ID was remotely pulled from the iFrame:
Your User Id:
If you don't have a pre-assigned login, you can log in to this app's OneSignal dashboard with:
jason+webpushdemo@onesignal.com
123123123
If you're not automatically prompted, click below to Subscribe.