Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created February 16, 2018 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/6fcdd2fc7d4e47e4eb596d34997b5ba2 to your computer and use it in GitHub Desktop.
Save juucustodio/6fcdd2fc7d4e47e4eb596d34997b5ba2 to your computer and use it in GitHub Desktop.
Example of Local Notification in Xamarin.Forms applications - http://julianocustodio.com/local-notification
using System;
using Plugin.LocalNotifications;
using Xamarin.Forms;
namespace LocalNotificationDemo
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
public void Start_Notification(object sender, EventArgs e)
{
CrossLocalNotifications.Current.Show("Title","Text");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment