Skip to content

lanarchyste/Xamarin.Badge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badge Plugin for Xamarin and Windows

Simple cross platform plugin to work with application badge

Setup

Supports

  • Xamarin.iOS
  • Xamarin.iOS (x64 Unified)
  • Xamarin.Android
  • Windows Phone 8.0
  • Windows Phone 8.1 RT
  • Windows Store 8.0+

Xamarin.Android Fix

Android doesn't supports app icon badge by default but third party manufacturers launchers do.

Now the plugin support these:

  • Samsung
  • HTC
  • LG
  • Sony
  • Xiaomi
  • Adw
  • Apex
  • Asus
  • Nova
  • Solid
  • Default (because some launchers use android.intent.action.BADGE_COUNT_UPDATE to update count)

Thanks to:

https://github.com/arturogutierrez/Badges

and

https://github.com/leolin310148/ShortcutBadger

API Usage

Call CrossBadge.Current from any project or PCL to gain access to APIs.

Setting application badge value

CrossBadge.Current.SetBadge(10);

Clearing application badge value

CrossBadge.Current.ClearBadge();

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%