Skip to content

leyserkids/react-native-badge

react-native-badge

app badge helper

Installation

npm install react-native-badge

Usage

import {
  getBadgeCount,
  setBadgeCount,
  isBadgeSupported,
} from 'react-native-badge';

// ...

if (isBadgeSupported()) {
    const cnt = await getBadgeCount();
    await setBadgeCount(cnt + 1);
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published