[Proposal] AppIcon Badge
See original GitHub issueFeature name
AppIconBadge
Link to discussion
https://github.com/CommunityToolkit/Maui/discussions/734
Progress tracker
- Android Implementation
- iOS Implementation
- MacCatalyst Implementation
- Windows Implementation
- Tizen Implementation
- Unit Tests
- Samples
- Documentation
Summary
Notify the user about some action in the application.
Step by step with output screenshots at https://vladislavantonyuk.azurewebsites.net/articles/AppIcon-Badge-with-.NET-MAUI
Motivation
Better user experience and app interaction with OS.
https://developer.apple.com/documentation/uikit/uiapplication/1622918-applicationiconbadgenumber https://github.com/leolin310148/ShortcutBadger</div>
Detailed Design
public interface INotificationCounter
{
Task<bool> RequestPermission();
void SetNotificationCount(int count);
}
Usage Syntax
var isGranted = await NotificationCounter.Default.RequestPermission();
if (isGranted)
NotificationCounter.Default.SetNotificationCount(count);
Drawbacks
Android implementation requires the support of many launchers. As part of this feature, I suggest creating a base class and implementation for some main providers, because we can’t support all launchers
Alternatives
No response
Unresolved Questions
No response
Issue Analytics
- State:
- Created 10 months ago
- Reactions:7
- Comments:5 (2 by maintainers)
Top Results From Across the Web
badge app icon switch missing on my mail
The badge app icon is gone on my mail app and when I go into the settings for mail app under notifications there...
Read more >obytes/app-icon-badge: 🧩 Expo plugin/library to ...
Easy to use as an Expo plugin or a simple library. Supports universal icons and adaptive icons. Supports multiple badges. Fully customizable; you ......
Read more >Modify a notification badge
Users can touch & hold the app icon to reveal the notifications, along with any app shortcuts, as shown in figure 1. These...
Read more >How to Turn On/Off App icon badges for individual Apps
Want to know How to Turn On/Off App icon badges for individual Apps on Samsung smartphone? This guide will show you how to...
Read more >Essential Trust Badges & Icons
Boost Shopify sales with trust badges, feature icons and baners · Use cases: Display trust badges, sale promotions, upsells · Highly customizable feature...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@KSemenenko we are focusing on bug fixes for the next month or two. however I am going to implement it as a next feature PR.
Thanks @VladislavAntonyuk!
Promoting to https://github.com/CommunityToolkit/Maui/labels/approved as we voted to approve it in the December Standup.
Technically, we should’ve opened the Proposal first before voting to approve said Proposal, but we’ll let this one slide.
Submitting a Proposal doesn’t require a vote from the core maintainers. It should start as a Discussion, and then once the Discussion is deemed feature-complete a Proposal can be opened.