Skip to content

Commit

Permalink
onesignal: disable welcome message by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Nov 17, 2017
1 parent 3b8333e commit d67df15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/onesignal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ function addOneSignal (moduleOptions) {
],
// SDK init options
// https://documentation.onesignal.com/docs/web-push-sdk#section--init-
allowLocalhostAsSecureOrigin: true
allowLocalhostAsSecureOrigin: true,
welcomeNotification: {
disable: true
}
}

const options = Object.assign(defaults, moduleOptions, this.options.oneSignal)
Expand Down

0 comments on commit d67df15

Please sign in to comment.