-
Notifications
You must be signed in to change notification settings - Fork 115
Legacy Supported Properties
Jason Pang edited this page Jun 1, 2017
·
7 revisions
Some things to support for future SDK releases.
- Everything listed here in Subscription Tracking Events, includes
notificationPermissionChange
- HTTP permission prompt events, including the
popupWindowTimeout
- Notify button
notifyButtonButtonClick
OneSignal.config
OneSignal.config.dangerouslyResetUserSubscriptions
OneSignal.SERVICE_WORKER_PATH
OneSignal.SERVICE_WORKER_UPDATER_PATH
OneSignal.checkAndWipeUserSubscription()
OneSignal.showHttpPermissionRequest()
OneSignal.getSubscription()
OneSignal.registerForPushNotifications({autoAccept: true})
-
if (OneSignal.subscriptionBell && OneSignal.subscriptionBell.hide) { OneSignal.subscriptionBell.hide(); } else if (OneSignal.notifyButton && OneSignal.notifyButton.launcher) { OneSignal.notifyButton.launcher.hide(); }
From https://gist.github.com/jasonpang/81b2bdbc5788dfcac322d9247b2c0e1a:
OneSignal.config.welcomeNotification
OneSignal.config
OneSignal.once('register')
OneSignal.subscriptionHelper.registerForW3CPush({})