Skip to content

Commit

Permalink
logging in example to show all events to console
Browse files Browse the repository at this point in the history
  • Loading branch information
jkasten2 committed Nov 14, 2023
1 parent 69299ec commit 3070b39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions express_webpack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
}

function showEventAlert(eventName, payload) {
console.log(`OneSignal event ${eventName} fired!`, payload);
if (!showEventAlertToggleSetting) {
return;
}
Expand Down

0 comments on commit 3070b39

Please sign in to comment.