app_badger_ios

The iOS implementation of the app_badger plugin.

Features

  • Uses UNUserNotificationCenter for native badge management.
  • Fully supports Swift Package Manager (SPM).
  • Handles notification permission requests.

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

Add the following to your Info.plist:

<key>NSUserNotificationUsageDescription</key>
<string>Notifications are required to display app badges</string>

See the root README for more details.

Libraries

app_badger_ios