@ionic-native/badge

Ionic Native - Native plugins for ionic apps

Stats

StarsIssuesVersionUpdatedCreatedSize
@ionic-native/badge
2,0634635.36.0a month ago5 years agoMinified + gzip package size for @ionic-native/badge in KB

Readme

Improve this doc

Badge

$ ionic cordova plugin add cordova-plugin-badge
$ npm install @ionic-native/badge

Usage Documentation

Plugin Repo: https://github.com/katzer/cordova-plugin-badge

The essential purpose of badge numbers is to enable an application to inform its users that it has something for them — for example, unread messages — when the application isn’t running in the foreground.

Requires Cordova plugin: cordova-plugin-badge. For more info, please see the Badge plugin docs.

Android Note: Badges have historically only been a feature implemented by third party launchers and not visible unless one of those launchers was being used (E.G. Samsung or Nova Launcher) and if enabled by the user. As of Android 8 (Oreo), notification badges were introduced officially to reflect unread notifications. This plugin is unlikely to work as expected on devices running Android 8 or newer. Please see the local notifications plugin docs for more information on badge use with notifications.

Supported platforms

  • Android
    • Browser
    • iOS
    • Windows

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.