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.

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);
    }