react-native-android-badge

0.5.0 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.0434latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.0434
0.4.337
0.4.20
0.4.10
0.4.00
0.3.10
0.2.00
0.1.10
0.1.01

Package Sidebar

Install

npm i react-native-android-badge

Weekly Downloads

472

Version

0.5.0

License

MIT

Unpacked Size

5.3 kB

Total Files

8

Last publish

Collaborators

  • jhen0409