Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/B1naryStudio/Xamarin.LocalNotifications
https://github.com/B1naryStudio/Xamarin.LocalNotifications
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/B1naryStudio/Xamarin.LocalNotifications
- Owner: B1naryStudio
- License: mit
- Created: 2015-01-05T08:04:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-02T14:46:40.000Z (almost 9 years ago)
- Last Synced: 2024-06-29T20:23:14.842Z (4 months ago)
- Language: C#
- Size: 226 KB
- Stars: 46
- Watchers: 14
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-xamarin - Xamarin.LocalNotifications ★40 - Simple cross platform plugin to work with mobile local notifications. (XPlat APIs)
README
Local Notifications Plugin for Xamarin and Windows
Simple cross platform plugin to work with mobile local notifications
### Setup
* Available on NuGet: https://www.nuget.org/packages/Xam.Plugin.LocalNotifications/
* Install into your PCL project and Client projects.**Android specific** You must add this line to application manifest within < application > tag:
``````
**Supports**
* Xamarin.iOS
* Xamarin.iOS (x64 Unified)
* Xamarin.Android
* Windows Phone 8.1 RT
* Windows Store 8.0+### API Usage
Call **CrossLocalNotifications.CreateLocalNotifier** from any project or PCL to gain access to APIs.
User **LocalNotification** class to parameterize notification.
**Creating Notification**
```
var notification = new LocalNotification
{
Text = "Hello from Plugin",
Title = "Notification Plugin",
Id = 2,
NotifyTime = DateTime.Now
};
```**Sending notification**
```
var notifier = CrossLocalNotifications.CreateLocalNotifier();
notifier.Notify(notification)
```**Canceling notification**
```
notifier.Cancel(notification.Id)
```#### Contributors
* [sbondini](https://github.com/sbondini)