v10.1.8
Fixed unable to reference in Xamarin Android issue
Fixed Request permission in Xamarin Android
Breaking Change for Xamarin:
Need to set MainActivity for LocalNotificationCenter for permission
LocalNotificationCenter.MainActivity = this;
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
{
.....
LocalNotificationCenter.MainActivity = this;
// Must create a Notification Channel when API >= 26
// you can create multiple Notification Channels with different names.
LocalNotificationCenter.CreateNotificationChannel();
.....
LoadApplication(new App());
.....
LocalNotificationCenter.NotifyNotificationTapped(Intent);
}
protected override void OnNewIntent(Intent intent)
{
LocalNotificationCenter.NotifyNotificationTapped(intent);
base.OnNewIntent(intent);
}
}