OneSignal / react-onesignal

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

[question]: isPushNotificationsSupported not in interface? #113

Closed obbila closed 1 year ago

obbila commented 1 year ago

How can we help?

How should I check if OneSignal is supported?

It does not appear to be in the interface and this is the error you get if you try:

OneSignal.isPushNotificationsSupported()

react_onesignal__WEBPACK_IMPORTED_MODULE_0__.default.isPushNotificationsSupported is not a function
rgomezp commented 1 year ago

The function isPushSupported is available on https://github.com/OneSignal/react-onesignal/issues/101. Please upgrade to use it.

Enjoy!