Skip to content

Cross platform plugins for Xamarin and Windows mobile apps

License

Notifications You must be signed in to change notification settings

fernandovm/Xamarin.Plugins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugins for Xamarin and Windows

A series (well, there is only one so far) of simple, cross-platform plugins for Xamarin and Windows native mobile apps.

##Notifier Notifier provides a consistent and easy way to show local notifications from within a native mobile app with a single line of code. Notifications are handled and displayed natively for each respective platform OS so they will appear in the notification center on iOS, Android and Windows Phone and will display a toast on Windows and Windows Phone.

####Methods

void Show(string title, string body);
void Show(string title, string body, int id, DateTime notifyTime);
void Cancel(int id);

Usage:

Notifier.Current.Show("You've got mail", "You have 793 unread messages!");
Notifier.Current.Show("Good morning", "Time to get up!", 1, DateTime.Now.AddDays(1);
Notifier.Current.Cancel(1);

####Platform Specific Notes On Windows and Windows Phone you must enable notifications in the app manifest by setting the "Toast capable" property to "Yes".

On iOS (as of iOS 8) you must get permission from the user to allow the app to show local notifications. Details on how to do this are here thanks to Larry O'Brien: http://www.knowing.net/index.php/2014/07/03/local-notifications-in-ios-8-with-xamarin/

####Download https://www.nuget.org/packages/Xam.Plugins.Notifier/

####Supported Platforms

  • Xamarin.iOS (Classic and Unified)
  • Xamarin.Android
  • Windows 8.1
  • Windows Phone 8.1
  • Windows Phone Silverlight 8.1
  • Windows 10 UWP

####Features Coming Soon

  • App launch deep linking

About

Cross platform plugins for Xamarin and Windows mobile apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%