Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(() => RNPermissions.checkNotifications()) .then(notifications => this.setState({notifications}))
An unified permissions API for React Native on iOS, Android and Windows