From 7ae84a928c079b6251ad8bf64ad8d47a2f32aab4 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 18 Nov 2017 00:10:32 +0330 Subject: [PATCH] update onesignal docs --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cdefdf40..fb817b2e 100644 --- a/README.md +++ b/README.md @@ -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.