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

Request to give out right badges and blurry the rest

I have a table badges that lists all available badges (badge_id, name, description, ...), a table users that lists all users (user_id, name, ...) and a table users_badges that saves all earned badges (id, badge_id, user_id). If user 1 earns badge 5,…
Julian
  • 591
  • 5
  • 14
0
votes
2 answers

After badge over bar button makes it untapable

I created a badge over bar button like this in order to show no of items in cart. Class SSBadgeButton class SSBadgeButton: UIButton { var badgeLabel = UILabel() var badge: String? { didSet { addBadgeToButon(badge:…
Shivam Tripathi
  • 1,405
  • 3
  • 19
  • 37
0
votes
0 answers

Show badge based on multiple user roles in Wordpress+WooCommerce

I am looking to display content based on multiple different user roles. So, if a user has the role subscriber + one of other roles, the content will display, if no, other message will display. I need to display multiple badges at My Account page…
0
votes
1 answer

How to extract iOS CFBundleVersion and CFBundleShortVersionString variables?

Using https://github.com/HazAT/badge I want to use xcode build version parameter and version parameter as parameters to the badge software: badge --shield "Version-${version}-${buildversion}" in the jenkins pipeline. Now which env parameters should…
kol23
  • 1,498
  • 3
  • 16
  • 35
0
votes
1 answer

Custom badge using PPBadgeView not showing in navigationitem - swift

I am creating an app i want to show badge icon when there an notification to alert for user. I have found out library named PPBadgeView and i have followed the following instruction which i am using pod 'PPBadgeViewSwift' and then pod install In…
Visal Sambo
  • 1,270
  • 1
  • 19
  • 33
0
votes
1 answer

Update cordova badge without opening the app (android & ios)

I want my app I build with Cordova and which runs on Android and ios to check my server for some data. I then want to use this data to update the badge at the phone homescreen. For this badge I use the plugin created by Katzer…
0
votes
1 answer

Android 7 badge counter

I saw in Android's documentation that the counter in the right upper corner is available only on Android 8 (Oreo), but I have a device running Android 7, and few apps show the badge counter. Is there any workaround to achieve this (show the dot…
Savio Barros
  • 83
  • 1
  • 6
0
votes
3 answers

UIBarButtonItem-Badge: badge won't show

I am using UIBarButtonItem-Badge. When created UIBarButtonItem in storyboard badge display fine. But when created UIBarButtonItem programmatically badge not displayed. Following is my Code: @property UIBarButtonItem…
Chirag Kothiya
  • 955
  • 5
  • 12
  • 28
0
votes
1 answer

Add Badge count icon on BarButtonItem Swift

I want to add a badge icon on an icon which i have used in UINavigationBar. This is so far i have done let threeDotButton = UIBarButtonItem(image:UIImage(named: "ic_more.png")?.withRenderingMode(.alwaysOriginal), style: .plain, target: self, action:…
Sandesh Zote
  • 23
  • 1
  • 8
0
votes
1 answer

How to update badge count in iOS?

I am using TabbedPage in Xamarin forms. In iOS I am not able to update TabbedPage badge item value. I am using custom renderer for iOS. My code is : [assembly: ExportRenderer(typeof(TabbedPage), typeof(BottomTabbedPage))] namespace…
Srusti Thakkar
  • 1,835
  • 2
  • 22
  • 52
0
votes
0 answers

Badge Icon Not Updating when close app In Swift

I use the following code to show the date of the day on the icon but the date will not be updated for the next day unless I enter the app : let date = NSDate() let calender = NSCalendar(calendarIdentifier: NSCalendar.Identifier.persian) let…
0
votes
1 answer

FPDF - failing to open eps file?

I am unable to use EPS file in FPDF (but here it is able to open EPS http://www.fpdf.org/en/script/script84.php ). What is wrong in my code? Error: Fatal error: Uncaught Exception: FPDF error: File was saved with wrong Illustrator version:…
user285594
0
votes
1 answer

Swift Tab Bar Badge

I have 2 UIViewController 1- UIViewController with UICollectionView. In cell I have UIButton and UILabel. When I press UIButton I have save text from UILabel to UserDefaults array. (Main screen) 2- UIViewController When I launch the app I want to…
Andrew0
  • 37
  • 1
  • 8
0
votes
1 answer

Show free delivery badge if price is above 50$ in WooCommerce product/archive page

I want to show a "free delivery" badge at every product with a price above 50$. It should be visible on the product page and in the loop. The problem is, that there could be more than one price. If you think about variations and sales (or even…
Cray
  • 5,307
  • 11
  • 70
  • 166
0
votes
0 answers

Badge over custom icon react-native doesn't works properly in react-native

I create a custom font based on this tutorial and everything works ok with the new CustomIcon tag, but, when I use it on a FooterTab, and I want to add a Badge, this last component doesn't work properly, and the Badge position is wrong, just this…