How to use the react-native-notifications.setBadgesCount function in react-native-notifications

To help you get started, we’ve selected a few react-native-notifications examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github RocketChat / Rocket.Chat.ReactNative / app / notifications / push / push.ios.js View on Github external
setBadgeCount = (count = 0) => {
		NotificationsIOS.setBadgesCount(count);
	}
github mattermost / mattermost-mobile / app / push_notifications / push_notifications.ios.js View on Github external
setApplicationIconBadgeNumber(number) {
        const count = number < 0 ? 0 : number;
        NotificationsIOS.setBadgesCount(count);
    }

react-native-notifications

Advanced Push Notifications (Silent, interactive notifications) for iOS & Android

MIT
Latest version published 8 months ago

Package Health Score

70 / 100
Full package analysis