1.2.1 • Published 7 years ago

@uuau99999/react-native-icon-badge v1.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

react-native-icon-badge

app icon badge designed for react native

This plugin now (since version 1.2.0) supports android and IOS.

ps: IOS icon badge setting requires PushNotificationIOS in react native. So make sure you do have PushNotificationIOS (you can find it in your react-native modules libraries folder) linked in your XCode project.

INSTALL

npm

npm install @uuau99999/react-native-icon-badge

yarn

yarn add @uuau99999/react-native-icon-badge

Methods:

setIconBadge(number)

set icon badge to the given value

getBadgeNumber()

return a promise contains the current badge number

clearBadge()

clear icon badge

If you have any question, please send an issue and I would help you as I can.

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago