Awesome
Plugin.LocalNotification
The local notification plugin provides a way to show local notifications from Xamarin.Forms / .Net MAUI apps.
Setup
Plugin.LocalNotification
Available on NuGet: https://www.nuget.org/packages/Plugin.LocalNotification-
.Net MAUI
- Install Version 10.0.0 above
- Install into your project
-
Xamarin.Forms (Support ended on May 1, 2024)
-
- Install Version 11.0.0 below
- Install into your platform-specific projects (iOS/Android), and any .NET Standard 2.0/2.1 projects required for your app.
Platform Support
Feature | Xamarin.iOS | Xamarin.Android | net8.0-ios (>= 11) | net8.0-android (>= 11) |
---|---|---|---|---|
Build SDK | >= 10 | >= API 31 | >= 16 | >= API 34 |
Supported OS Version | >= 10 | >= API 19 | >= 11 | >= API 21 |
Title | ✅ | ✅ | ✅ | ✅ |
Description | ✅ | ✅ | ✅ | ✅ |
Subtitle | ✅ | ✅ | ✅ | ✅ |
Schedule | ✅ | ✅ | ✅ | ✅ |
Repeat | ✅ | ✅ | ✅ | ✅ |
Custom Sounds | ✅ | ✅ | ✅ | ✅ |
Images | ✅ | ✅ | ✅ | ✅ |
Notification Actions | ✅ | ✅ | ✅ | ✅ |
Clear Delivered Notifications | ✅ | ✅ | ✅ | ✅ |
Get Pending Notifications | ✅ | ✅ | ✅ | ✅ |
Get Delivered Notifications | ✅ | ✅ | ✅ | ✅ |
Location Notifications | ✅ | ✅ | ✅ | ✅ |
Usage
Screen Record
<img src="https://raw.githubusercontent.com/thudugala/Plugin.LocalNotification/60c9342ba866b1af1278c273f3d41a168901e4ff/Screenshots/screenRecord.gif" alt="Screen Record" width="512px" >Video
Xamarin.Forms (Support ended on May 1, 2024)
.Net MAUI
SourceLink Support
In Visual Studio, confirm that SourceLink is enabled. Also, Turn off "Just My Code" since, well, this isn't your code.
https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink
Limitations
Only support <b>iOS</b> and <b>Android</b> for the moment.
Contributing
Contributions are welcome. Feel free to file issues and pull requests on the repo and they'll be reviewed as time permits.
Thank you
- Thank you for the Icons by DinosoftLabs and Iconic Hub
- Thank you for the sound file by Notification sounds
- Thank you for the tutorial video by Gerald Versluis