Skip to content

jhen0409/react-native-android-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Android Badge

NPM version

A react native wrapper for leolin310148/ShortcutBadger.

Why?

A react-native PushNotificationIOS provide setting badge of functions, it belongs to the native iOS support, but Android requires third-party library to do.

Setup

$ npm i --save react-native-android-badge
$ react-native link

Usage

var BadgeAndroid = require('react-native-android-badge');

BadgeAndroid.setBadge(10);

About

A react native wrapper for leolin310148/ShortcutBadger.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published