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

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-android-badge

Weekly Downloads

6,524

Version

0.5.0

License

MIT

Unpacked Size

5.3 kB

Total Files

8

Last publish

Collaborators

  • jhen0409