📘
Awesome Cordova Plugins
  • Plugins
  • ABBYY Real-Time Recognition
  • Action Sheet
  • AdjustAppStoreSubscription
  • RewardVideo
  • AdMob Pro
  • AdMob
  • AES256
  • AllInOneSDK
  • Analytics Firebase
  • Android ExoPlayer
  • Android Full Screen
  • Android Notch
  • Android Permissions
  • Anyline
  • App Availability
  • App Center Analytics
  • App Center Crashes
  • App Center Low Memory
  • App Center Push
  • App Center Shared
  • App Preferences
  • App Rate
  • App Version
  • Apple Wallet
  • HTTP
  • Appsflyer
  • Background Fetch
  • Background Geolocation
  • Background Mode
  • FileTransferManager
  • Badge
  • Barcode Scanner
  • Battery Status
  • BioCatch
  • BiometricWrapper
  • BLE
  • BlinkId
  • Bluetooth Classic Serial Port
  • BluetoothLE
  • Bluetooth Serial
  • BranchIo
  • Broadcaster
  • Browser Tab
  • Build Info
  • Calendar
  • Call Directory
  • Call Number
  • Camera Preview
  • Camera
  • Checkout
  • Chooser
  • CleverTap
  • Clipboard
  • Cloud Settings
  • Code Push
  • CustomUISDK
  • Deeplinks
  • Device Accounts
  • Device Motion
  • Device Orientation
  • Device
  • Dfu Update
  • Diagnostic
  • Dialogs
  • DNS
  • iOS DocumentPicker
  • Document Scanner
  • Document Viewer
  • Dynamsoft Barcode Scanner
  • Email Composer
  • Answers
  • Facebook
  • FCM
  • File Opener
  • File Path
  • File Transfer
  • File
  • Fingerprint AIO
  • Firebase Analytics
  • Firebase Authentication
  • Firebase Config
  • FirebaseCrash
  • Firebase Crashlytics
  • Firebase Dynamic Links
  • Firebase Messaging
  • Firebase Vision
  • Firebase X
  • Firebase
  • Flashlight
  • Foreground Service
  • FTP
  • Gao De Location
  • GCDWebServer
  • Ge Tui Sdk Plugin
  • Geolocation
  • Globalization
  • Google Analytics
  • Google Nearby
  • Google Plus
  • Header Color
  • Health Kit
  • Health
  • HTTP
  • Coordinates
  • Iamport Cordova
  • IBeacon
  • Image Picker
  • Imap
  • In App Browser
  • In App Purchase 2
  • In App Review
  • In App Update
  • Insomnia
  • Instagram
  • Intercom
  • Ionic Webview
  • ios-aswebauthenticationsession-api
  • Is Debug
  • Keyboard
  • Keychain
  • Kommunicate
  • Launch Navigator
  • Launch Review
  • Line Login
  • LocalBackup
  • Local Notifications
  • Location Accuracy
  • Lottie Splash Screen
  • Media Capture
  • Media
  • Metrix
  • Mixpanel
  • MLKitTranslate
  • Mobile Messaging
  • Multiple Documents Picker
  • Music Controls
  • Native Audio
  • Native Geocoder
  • Native Keyboard
  • Native Page Transitions
  • Native Storage
  • NativeView
  • Network Interface
  • Network
  • UriHelper
  • OCR
  • OneSignal
  • Open Native Settings
  • OpenALPR
  • PayTabs
  • PDFGenerator
  • Photo Library
  • Photo Viewer
  • PlayInstallReferrer
  • Pollfish
  • Power Management
  • Power Optimization
  • PreviewAnyFile
  • Printer
  • PSPDFKit-Cordova
  • Purchases
  • Push
  • PushapePush
  • Safari View Controller
  • Save Dialog
  • Screen Orientation
  • Secure Storage Echo
  • Secure Storage
  • ServiceDiscovery
  • Shake
  • Sign In With Apple
  • SmartlookSetupConfigBuilder
  • Sms Retriever
  • SMS
  • Smtp Client
  • Social Sharing
  • Speech Recognition
  • Spinner Dialog
  • Splash Screen
  • Spotify Auth
  • Sqlite Db Copy
  • SQLite Porter
  • SQLite
  • StarPRNT
  • Status Bar
  • Streaming Media
  • Stripe
  • SumUp
  • System Alert Window Permission
  • Taptic Engine
  • TealiumAdIdentifier
  • TealiumInstallReferrer
  • Tealium
  • Text To Speech Advanced
  • Theme Detection
  • 3D Touch
  • Toast
  • Touch ID
  • DbResult
  • Uptime
  • UrbanAirShip
  • Usabilla
  • Vibes
  • Vibration
  • Video Editor
  • Video Player
  • Web Intent
  • Web Server
  • WebSocket Server
  • Webengage
  • Wechat
  • WheelSelector Plugin
  • WifiWizard2
  • Push Notifications - WonderPush
  • Youtube Video Player
  • ZBar
  • Zeroconf
  • Zoom
  • ABBYY Real-Time Recognition
  • Action Sheet
  • AdjustThirdPartySharing
  • RewardVideo
  • AdMob Pro
  • AdMob
  • AdvancedImagePicker
  • AES256
  • AllInOneSDK
  • Analytics Firebase
  • Android ExoPlayer
  • Android Full Screen
  • Android Notch
  • Android Permissions
  • Anyline
  • App Availability
  • App Center Analytics
  • App Center Crashes
  • App Center Low Memory
  • App Center Push
  • App Center Shared
  • App Preferences
  • App Rate
  • App Review
  • App Version
  • Apple Wallet
  • Applovin
  • HTTP
  • Appsflyer
  • Background Fetch
  • Background Geolocation
  • Background Mode
  • BackgroundUpload
  • Badge
  • Barcode Scanner
  • Battery Status
  • BioCatch
  • BiometricWrapper
  • BLE
  • BlinkId
  • Bluetooth Classic Serial Port
  • BluetoothLE
  • Bluetooth Serial
  • BranchIo
  • Brightness
  • Broadcaster
  • Browser Tab
  • Build Info
  • Calendar
  • Call Directory
  • Call Number
  • Camera Preview
  • Camera
  • CFPaymentComponentBuilder
  • Checkout
  • Chooser
  • Chooser
  • CleverTap
  • Clipboard
  • Cloud Settings
  • Code Push
  • Crop Plugin Privacy
  • CustomUISDK
  • Deeplinks
  • Device Accounts
  • Device Motion
  • Device Orientation
  • Device
  • Dfu Update
  • Diagnostic
  • Dialogs
  • DNS
  • iOS DocumentPicker
  • Document Scanner
  • Document Viewer
  • dynamsoft-barcode-scanner
  • Email Composer
  • Crashlytics
  • Facebook
  • FbSdk
  • FCM
  • FFMpeg
  • FileChooser Plugin
  • File MD5
  • File Opener
  • File Path
  • File Transfer
  • File
  • Fingerprint AIO
  • Firebase Analytics
  • Firebase Authentication
  • Firebase Config
  • FirebaseCrash
  • Firebase Crashlytics
  • Firebase Dynamic Links
  • Firebase Messaging
  • FirebaseModelInput
  • Firebase Vision
  • Firebase X
  • Firebase
  • Flashlight
  • Foreground Service
  • FTP
  • Gao De Location
  • gcdwebserver
  • Ge Tui Sdk Plugin
  • Geolocation
  • Globalization
  • Google Analytics
  • Google Nearby
  • Google Plus
  • Header Color
  • Health Kit
  • Health
  • HTTP
  • Coordinates
  • IRoot
  • Iamport Cordova
  • IBeacon
  • Image Picker
  • ImageResizer
  • Imap
  • In App Browser
  • In App Purchase 2
  • In App Review
  • In App Update
  • Insomnia
  • Instagram
  • Intercom
  • Ionic Webview
  • ios-aswebauthenticationsession-api
  • Is Debug
  • Keyboard
  • Keychain
  • Kommunicate
  • Launch Navigator
  • Launch Review
  • Lets Cooee
  • Line Login
  • LocalBackup
  • Local Notifications
  • Location Accuracy
  • Lottie Splash Screen
  • Device eMagnetometer
  • Market
  • Media Capture
  • Media
  • Metrix
  • Mixpanel
  • MLKitTranslate
  • Mobile Accessibility
  • Mobile Messaging
  • Multiple Documents Picker
  • Music Controls
  • Native Audio
  • Native Geocoder
  • Native Keyboard
  • Native Page Transitions
  • Native Storage
  • NativeView
  • Network Interface
  • Network
  • newrelic mobile
  • NFC
  • OCR
  • OneSignal
  • Open Native Settings
  • OpenALPR
  • PayTabs
  • PDFGenerator
  • Photo Library
  • Photo Viewer
  • PlayInstallReferrer
  • Pollfish
  • Power Management
    • Power Management
  • Power Optimization
  • PreviewAnyFile
  • Printer
  • PSPDFKit-Cordova
  • Purchases
  • Push
  • PushapePush
  • Safari View Controller
  • Save Dialog
  • Screen Orientation
  • Secure Storage Echo
  • Secure Storage
  • ServiceDiscovery
  • Shake
  • ASAuthorizationAppleIDRequest
  • Smartlook
  • SmsRetrieverApi
  • Sms Retriever
  • SMS
  • Smtp Client
  • Social Sharing
  • Speech Recognition
  • Spinner Dialog
  • Splash Screen
  • Spotify Auth
  • Sqlite Db Copy
  • SQLite Porter
  • SQLite
  • SSLCertificateChecker
    • SSLCertificateChecker
  • StarPRNT
  • Status Bar
  • Streaming Media
  • Stripe
  • SumUp
  • System Alert Window Permission
  • Taptic Engine
  • TealiumAdIdentifier
  • TealiumInstallReferrer
  • ConsentExpiry
  • Text To Speech Advanced
  • Theme Detection
  • 3D Touch
  • Toast
  • Touch ID
  • Unique Device ID
  • SyncResult
  • Uptime
  • UrbanAirShip
  • Usabilla
  • Vibes
  • Vibration
  • Video Editor
  • Video Player
  • Web Intent
  • Web Server
  • WebSocket Server
  • Webengage
  • Webim
  • Wechat
  • WheelSelector Plugin
  • WifiWizard2
  • UserPreferencesMethods
  • Youtube Video Player
  • ZBar
  • Zeroconf
  • Zip
  • Zoom
Powered by GitBook
On this page
  • Usage Documentation
  • Supported platforms

Was this helpful?

Badge

PreviousBackgroundUploadNextBarcode Scanner

Last updated 3 years ago

Was this helpful?

$ ionic cordova plugin add cordova-plugin-badge
$ npm install @awesome-cordova-plugins/badge

Plugin Repo:

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 .

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), 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 for more information on badge use with notifications.

Supported platforms

  • Android

    • Browser

    • iOS

    • Windows

Usage Documentation
https://github.com/katzer/cordova-plugin-badge
Badge plugin docs
notification badges
local notifications plugin docs