How to use badgin - 2 common examples

To help you get started, we’ve selected a few badgin 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 expo / expo / packages / expo / src / Notifications / ExponentNotifications.web.ts View on Github external
async setBadgeNumberAsync(badgeNumber: number): Promise {
    currentBadgeNumber = badgeNumber;
    badgin.set(badgeNumber);
  },
};
github expo / expo / packages / expo / build / Notifications / ExponentNotifications.web.js View on Github external
async setBadgeNumberAsync(badgeNumber) {
        currentBadgeNumber = badgeNumber;
        badgin.set(badgeNumber);
    },
};

badgin

Badgin makes it easy to subtly notify the user that there is some new activity that might require their attention, or it can be used to indicate a small amount of information, such as an unread count.

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis

Popular badgin functions