Skip to content

leyserkids/react-native-badge-turbo

Repository files navigation

react-native-badge-turbo

Get/Set badge for Android.

Installation

npm install react-native-badge-turbo

Usage

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

// ...

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published