/// <summary>
        /// Tries to update the notification count
        /// </summary>
        /// <exception cref="ShortcutBadgeException"></exception>
        /// <param name="context">context</param>
        /// <param name="badgeCount">badge count</param>
        public static void ApplyCountOrThrow(Context context, int badgeCount)
        {
            if (_sShortcutBadger == null)
            {
                var launcherReady = InitBadger(context);

                if (!launcherReady)
                {
                    throw new ShortcutBadgeException("No default launcher available");
                }
            }

            try
            {
                _sShortcutBadger.ExecuteBadge(context, _sComponentName, badgeCount);
            }
            catch (Exception e)
            {
                throw new ShortcutBadgeException($"Unable to execute badge {e.Message}");
            }
        }