app_badger_android

The Android implementation of the app_badger plugin.

Features

  • Supports launcher-specific badge APIs via ShortcutBadger.
  • Provides a notification-based fallback for modern Android devices.
  • Handles POST_NOTIFICATIONS runtime permissions (Android 13+).

Usage

This package is an internal implementation of the app_badger plugin and should not be used directly. App developers should depend on the app_badger package.

Setup

Ensure you have the following in your AndroidManifest.xml:

<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

See the root README for more details.

Libraries

app_badger_android