I would like to generate the local notification. For this purpose, I used the ACR Notification Plugin which does not work in my case. In the first step I called
the request permission function (bool result = await CrossNotifications.Current.RequestPermission()) which always throws the true value. After that, I called
await CrossNotifications.Current.Send(new Notification
Title = "Samples",
Message = "Starting Sample Schedule Notifications",
Id = 5,
which caused the following exception:
System.TypeInitializationException: The type initializer for 'Plugin.Notifications.AndroidConfig' threw an exception.
If anyone knows how to handle this exception or why this exception appears I will be grateful.
Thanks in advance.