You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, good question 🤔 You can check on a channel level using isChannelBlocked but if you need to check on an app level, it looks like we don't have that.
I believe you're the first person to ask for this, so will mark it as a feature request 😎
However, by default when the app is initially installed, notifications are enabled, and you can listen to events to track when the user has disabled them here
You can also use react-native-permission as they have a function checkNotifications which will let you know on an app level if a used has turned them off.
I noticed the way the other lib does is by playing with alert flag for android app level. See this PR for example. I could submit a PR similar to that one if we could do the same with alert flag. Or do you have an idea on how it should be in mind?
in iOS, we can check with
getNotificationSettings
and use theauthorizationStatus
attribute. Is there an equivalent for Android?The text was updated successfully, but these errors were encountered: