Closed DavidQuartz closed 12 months ago
Howdy, We will no longer be making large investments (e.g API changes) to the 2.0 SDK.
However, we have the functionality you're looking for in the latest 3.0 major release (beta).
We encourage you to migrate to v3 if possible.
Enjoy!
What's on your mind?
I'm using your react-onesignal library in a project for handling push notifications. I noticed that currently there doesn't seem to be a method to check whether a user has opted out of notifications. I've found isOptedOut available in the OneSignal web SDK, but it appears this function is not currently included in the react-onesignal package.
Having the ability to check if users have opted out of notifications directly through react-onesignal would be beneficial for managing user preferences within our application.
Here's a sample use case scenario:
Could you consider adding this functionality in a future update? I believe this would make react-onesignal more flexible and complete for managing user notification preferences.