http://localhost:3000
and enable both toggles for local development.
externalID
instead of directly sharing the addresses with OneSignal. This externalID
will then be mapped to an address in our database. So, when our backend receives a webhook for a specific address, it can retrieve the corresponding externalID
and send a push notification accordingly.
client/inde.html
with this content.
http://localhost:3000
, you should see something like this. Then click on Connect and accept receiving push notifications. If you are using MacOS, check in System Settings > Notifications that you have enabled notifications for the browser.
externalID
associated with that wallet.externalID
.
/callbackpath
and our address.
.env
file with the following values:
externalID
, and then sends an instruction to OneSignal to dispatch a notification to the browser, with OneSignal ultimately delivering the web push notification to the browser.