OneSignal/OneSignal-Android-SDK

[Feedback]: The OneSignal SDK should offer a way to check whether a Notification channel created through OneSignal is enabled.

Opened this issue · 2 comments

What's on your mind?

In the OneSignal dashboard we can create Android Notification Channels, and the OneSignal SDK then creates these channels on the users device. After a notification channel has been created, the user can disable the channel to stop receiving certain notifications.
The OneSignal SDK seemingly doesn't provide a way for the app to check, whether a notification channel that was created through OneSignal is currently enabled or disabled and I am requesting that such a function should be added.

I often receive complaints from users that they don't receive notifications and disabled notification channels are one reason why they might not be receiving the notifications. If I was able to read out this value, I could let the user know what the problem is directly in the app.

Code of Conduct

  • I agree to follow this project's Code of Conduct

@raffaelgyr Thank you for the suggestion! To further understand the use case, would this information mostly be useful for debugging or would you use it to drive some behavior in your app?

I guess this counts as debugging.