Skip to content

Commit

Permalink
update onesignal docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Nov 17, 2017
1 parent dd61c18 commit 7ae84a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,16 @@ modules: [
oneSignal: {
init: {
appId: 'YOUR_APP_ID',
allowLocalhostAsSecureOrigin: true,
welcomeNotification: {
disable: true
}
}
}
```

See references below for all `init` options.

### Async Functions
This module exposes oneSignal as `$OneSignal` everywhere. So you can call it.
Please note that because of async loading of OneSignal SDK script, every action should be pushed into `$OneSignal` stack.
Expand Down

0 comments on commit 7ae84a9

Please sign in to comment.