Questions tagged [badge]

A badge is a concise visual indication of something important to the user.

A badge is an unobtrusive notification in an application, indicating to the user a count of actionable objects that the user may wish to attend to. For example, number of new emails or unread messages.

A badge is not to be used as an urgent message requiring immediate user action, but rather assists in program flow, giving the user information about another part of the application that is not currently in focus.

867 questions
0
votes
1 answer

How to update ApplicationBadgeIcon in iPhone App?

I am using applicationiconbadge in my app. I am setting it to 100 and I have to decrement it till 0 and give some alerts in meanwhile. Now when I close my app by pressing homescreen, I can see badge on app icon but its not updating. I have used…
slonkar
  • 4,055
  • 8
  • 39
  • 63
0
votes
0 answers

react-native-app-badge not working until the device receives the first notification

I'm developing an app using react native. I implemented the badge feature using react-native-app-badge on android, but the setCount doesn't work until the device receives the first notification. does anyone know any information about this? I tried…
김남인
  • 1
  • 1
0
votes
0 answers

How to get eslint score similar to pylint score?

I already created a badge to show my pylint score: Now I would like to do something similar with eslint for my frontend. However, eslint does not seem to calculate a score value by default. => How can I print an eslint score or calculate a value…
Stefan
  • 10,010
  • 7
  • 61
  • 117
0
votes
0 answers

Vote showing notification badge in ios for expo notifications

I am using expo notification library to generate and manage notifications in my app [expo managed App]. The versions are as follows expo SDK Version: 4.22 expo-notification SDK Version: 3.7 Platforms(Android/iOS/web/all): iOS I receive…
HSP
  • 21
  • 1
0
votes
0 answers

PWA application - display a badge on the app icon works windows but not work on android

I am struggling with PWA and badging. I added if (navigator.setAppBadge) { navigator.setAppBadge(6); } to the push notification method(service-worker.js) and it works fine on windows(chrome browser) but it doesn't work on android(also chrome…
0
votes
0 answers

Woocommerce - Percentage off on the sale badge php snippet does not work in the home page

On my website choupetteland.fr I put a php snippet (see below) found on the WP Simple Hacks Youtube channel for showing percentage off on the sale badge. It works well in my category and product pages but does not work in my homepage. Would you have…
Nouzby
  • 1
0
votes
0 answers

Permission to show badge number on PWA

I have created a PWA for android and connected it with a service for Push Notifications. I want to show how many notifications I have by displaying a badge number on the app icon. As I understand it, android displays this automatically. However when…
0
votes
0 answers

Unable to update notification badge count in Android

I am sending NotificationCompat.Builder , it shows notification, but it does not update the count in the app icon badge. The badge is displayed without a count. I am using Android SDK 31. Any help would be appreciated.
Aniz
  • 11
  • 4
0
votes
0 answers

why doesn't navigator.setAppBadge() in Safari on iOS work without a number argument?

According to the spec: (https://www.w3.org/TR/badging/#example-showing-ready-status-on-the-app-icon) navigator.setAppBadge() with no arg should alert the user with a badge containing no number, but it does not do so in Safari on iOS. You can try it…
0
votes
0 answers

Shields.io badges not displaying releases or logo for correct user and repo

I'm currently working on creating badges using Shields, and I have made sure to provide the correct user and repository names. Additionally, I have included the correct logo code obtained from simpleicons. However, when I generate the badge, it…
Manish Bhusal
  • 91
  • 1
  • 4
0
votes
1 answer

Chakra UI tooltip wont work when child is badge

Hey I have been unable to get a tooltip to show up when I hover over this badge. I am using Chakra UI code below thanks
codernoob8
  • 434
  • 1
  • 9
  • 24
0
votes
0 answers

Twitch/ html/ css/ streamlabs: need help displaying specific user badge (instead of all of them) within my chatbox using streamlabs html and css code

(code below) I'm not incredibly familiar with either two languages, but I am able to inspect html elements in google to pinpoint what it is I wish to use:
0
votes
1 answer

Sony Android 11+ Icon badge crash Unknown URL content://com.sonymobile.home.resourceprovider/badge

Crash log show in firebase like this: all crash devices OS (11, 12, 13+) Fatal Exception: java.lang.IllegalArgumentException: Unknown URL content://com.sonymobile.home.resourceprovider/badge at…
shuabing
  • 679
  • 11
  • 28
0
votes
0 answers

D-flex changes badge in vue

Normally my elements were nicely displayed on the right, but I had to add a badge and now, because of the following code:
My badge looks like this: Instead of: The code related to this:
IleNea
  • 569
  • 4
  • 17
0
votes
0 answers

How to create a project badge for gitlab?

I've been having a problem with the generation of badges in gitlab CI/CD. Specifically, my problem is that I don't know how to link correctly the URL of the image and the link. I've researched the internet, but have not found anything that is really…