OneSignal / react-onesignal

React OneSignal Module: Make it easy to integrate OneSignal with your React App!
Other
74 stars 23 forks source link

[question]: How can I hide the bell? #92

Closed agustinramos closed 1 year ago

agustinramos commented 1 year ago

How can we help?

Hii, nice to meet you guys,

Just I wanna now how can I hide the bell with this library.

Thanks!

rgomezp commented 1 year ago

Howdy, Make sure you have your app configured to "Custom Code" in your dashboard.

The bell is configured in Custom Code setups via init options.

Enjoy!

agustinramos commented 1 year ago

window.OneSignal.notifyButton.launcher.hide() ...

thanks!!