localnotificationsplugin icon indicating copy to clipboard operation
localnotificationsplugin copied to clipboard

Exception Unhandled System.TypeLoadException

Open raul9410 opened this issue 7 years ago • 1 comments

Plugin Version: 3.0.1 Platform : Android v25

When I display a local notification immediately I receive this error:

Unhandled Exception: System.TypeLoadException: Could not resolve type with token 01000015 from typeref (expected class 'Android.App.NotificationChannel' in assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065')

Is just a method triggered by a button:

private void immediatelyNotification_Clicked(object sender, EventArgs e) { CrossLocalNotifications.Current.Show("title", "body"); }

raul9410 avatar Feb 22 '19 15:02 raul9410

Hello raul

Did you call CrossLocalNotifications.Current beforehand?

DoktorAerzt avatar Mar 01 '19 07:03 DoktorAerzt