All Projects → g123k → Flutter_app_badger

g123k / Flutter_app_badger

Licence: apache-2.0
Support to update the app badge on the launcher (both for Android and iOS)

Programming Languages

ruby
36898 projects - #4 most used programming language
dart
5743 projects
dartlang
94 projects

Projects that are alternatives of or similar to Flutter app badger

Badgeforappicon
The unread badges of the android launcher icon.
Stars: ✭ 83 (-56.54%)
Mutual labels:  launcher, badge
ScratchPaper
A Gradle Plugin for adding variant/version/git-commit-id/etc information to APK launcher icon.
Stars: ✭ 58 (-69.63%)
Mutual labels:  launcher, badge
Ci Buildstats
Little widget to display AppVeyor, TravisCI, CircleCI, GitHub Actions or Azure Pipelines build history charts and other SVG badges.
Stars: ✭ 134 (-29.84%)
Mutual labels:  badge
Blender Launcher
Standalone client for managing official builds of Blender 3D
Stars: ✭ 174 (-8.9%)
Mutual labels:  launcher
Bnetlauncher
Launcher utility to help start battle.net games with the steam overlay.
Stars: ✭ 161 (-15.71%)
Mutual labels:  launcher
Zimlx
Open Source and free launcher for Android
Stars: ✭ 137 (-28.27%)
Mutual labels:  launcher
Badges
🎴 Standard and acceptable badges list
Stars: ✭ 165 (-13.61%)
Mutual labels:  badge
Aws Launcher
AWS Launcher. Launch AWS Services from your macOS dock.
Stars: ✭ 132 (-30.89%)
Mutual labels:  launcher
Sway Launcher Desktop
TUI Application launcher with Desktop Entry support. Made for SwayWM, but runs anywhere
Stars: ✭ 188 (-1.57%)
Mutual labels:  launcher
Sofie Tv Automation
This is the documentation for the state-based studio automation system Sofie, used in live TV news production by the Norwegian public service broadcaster NRK since September 2018.
Stars: ✭ 155 (-18.85%)
Mutual labels:  launcher
Fastlane Plugin Badge
The fastlane plugin for badge
Stars: ✭ 174 (-8.9%)
Mutual labels:  badge
Ulauncher
Linux Application Launcher
Stars: ✭ 2,362 (+1136.65%)
Mutual labels:  launcher
Google Play Badge Svg
Hosting for localized versions of Google Play badges in SVG format.
Stars: ✭ 137 (-28.27%)
Mutual labels:  badge
Multimc5
A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
Stars: ✭ 2,879 (+1407.33%)
Mutual labels:  launcher
Ueli
Keystroke launcher for Windows and macOS
Stars: ✭ 2,162 (+1031.94%)
Mutual labels:  launcher
Baldphone
A new accessible interface for your smartphone, suitable for seniors
Stars: ✭ 181 (-5.24%)
Mutual labels:  launcher
Terasologylauncher
Terasology Launcher is the official launcher for the open source game Terasology.
Stars: ✭ 132 (-30.89%)
Mutual labels:  launcher
Coursier
Pure Scala Artifact Fetching
Stars: ✭ 1,839 (+862.83%)
Mutual labels:  launcher
Posidonlauncher
a one-page homescreen with a news feed
Stars: ✭ 163 (-14.66%)
Mutual labels:  launcher
Lens Launcher
A unique, efficient way to browse and launch your apps
Stars: ✭ 190 (-0.52%)
Mutual labels:  launcher

Flutter App Badger plugin

Pub

This plugin for Flutter adds the ability to change the badge of the app in the launcher. It supports iOS and some Android devices (the official API does not support the feature, even on Oreo).

Android badge

Android badge

Getting Started

iOS

On iOS, the notification permission is required to update the badge. It is automatically asked when the badge is added or removed.

Please also add the following to your Info.plist:

<key>UIBackgroundModes</key>
    <array>
        <string>remote-notification</string>
    </array>

Android

On Android, no official API exists to show a badge in the launcher. But some devices (Samsung, HTC...) support the feature. Thanks to the Shortcut Badger library, ~ 16 launchers are supported.

Dart

First, you just have to import the package in your dart files with:

import 'package:flutter_app_badger/flutter_app_badger.dart';

Then you can add a badge:

FlutterAppBadger.updateBadgeCount(1);

Remove a badge:

FlutterAppBadger.removeBadge();

Or just check if the device supports this feature with:

FlutterAppBadger.isAppBadgeSupported();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].