title: Xamarin.Forms How to show a notification even app is closed
body: <p>I am Using <strong>Xamarin.Fomrs</strong> PLC Project, I am trying to show a notification even app is closed, right now it is working fine when app is running because I put the Notification thread on <code>OnStart()</code>,What I should do to make Notification working even if app is closed </p>
  
  <p>On The Following A brief of code to be more clearly :</p>
  
  <pre><code>namespace X
  {
      public class App : Application
      {
          INotificationService service;           
      }
  
  
      void CheckNotifications ()
      {
          service = DependencyService.Get&lt;INotificationService&gt; ();
          service.Notify (message);
          System.Threading.Thread.Sleep (1000 * 60);          
       }
  
       protected override void OnStart ()
       {          
              var threadStart = new System.Threading.ThreadStart (CheckNotifications);
              var thread = new System.Threading.Thread (threadStart);
              thread.IsBackground = true;
              thread.Start ();
       }
  
  }
  </code></pre>