Badge Notifications


This article covers Uno-specific information for Windows.UI.Notifications namespace. For a full description of the feature and instructions on using it, consult the UWP documentation:

  • The Windows.UI.Notifications namespace provides classes for creating and managing badge notifications.

Badge notifications are supported on iOS and macOS.

macOS supports numeric and textual badges (as opposed to UWP) but does not support glyphs.

iOS allows for numeric badges only. It is also necessary to request user permission prior to executing the badge notification for the first time (this request can be executed when appropriate for your application):

#if __IOS__
        (granted, error) => {
            if (granted)
                //now setting badge is possible