HankScorpi0 / Xamarin.Badge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C# 100.0%