Skip to content

verico/react-native-shortcut-badger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use it

Add package react-native-shortcut-badger to react-native project

$ npm i --save react-native-shortcut-badger
$ react-native link react-native-shortcut-badger

Import the module and use it in your react-native code

import BadgeNumberAndroid from 'react-native-shortcut-badger'
...
BadgeNumberAndroid.setNumber(5)

Run the project on supported devices and check:

$ react-native run-android

screenshot

You can see the list of supported devices at leolin310148/ShortcutBadger

About

A react-native wrapper for ShortcutBadger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.2%
  • JavaScript 5.8%