Notification in xamarin.forms

sagarsagar Member ✭✭✭
edited March 2019 in Xamarin.Forms

Hello all,
I am working on notifications with xamarin forms. I am getting notifications on android 5 but when I use android 8 am not getting notifications. This is how I created the notification using this plugin
Code
var notification = new LocalNotification
{
Text = "Notification body comes here",
Title = from,
Id = 2,
NotifyTime = DateTime.Now.AddSeconds(1)
};
var notifier = CrossLocalNotifications.CreateLocalNotifier();
notifier.Notify(notification);

Please help me out. Thanks in advance

Posts

Sign In or Register to comment.