From ce6fb5c1bff08ed987a5ffccca196746f9245ea6 Mon Sep 17 00:00:00 2001 From: Elvin Thudugla Date: Sat, 20 May 2023 13:26:15 +1200 Subject: [PATCH] Fixed notification cancel issue Fixed AssemblyMetadata IsTrimmable is set to True now UsesPermission must be set at application level --- .../LocalNotification.Sample/MainPage.xaml | 5 +++++ .../LocalNotification.Sample/MainPage.xaml.cs | 11 +++++++++-- .../Platforms/Android/ManifestInfo.cs | 11 +++++++++++ .../Platforms/Android/ManifestInfo.cs | 18 +++++++++--------- .../Android/NotificationServiceImpl.cs | 17 ++++++++++------- .../Platforms/iOS/ManifestInfo.cs | 2 +- .../Platforms/iOS/NotificationServiceImpl.cs | 4 ++++ .../Plugin.LocalNotification.csproj | 2 +- 8 files changed, 50 insertions(+), 20 deletions(-) create mode 100644 Sample/Direct Maui/LocalNotification.Sample/Platforms/Android/ManifestInfo.cs diff --git a/Sample/Direct Maui/LocalNotification.Sample/MainPage.xaml b/Sample/Direct Maui/LocalNotification.Sample/MainPage.xaml index 1aebfb16..6348ae3f 100644 --- a/Sample/Direct Maui/LocalNotification.Sample/MainPage.xaml +++ b/Sample/Direct Maui/LocalNotification.Sample/MainPage.xaml @@ -38,6 +38,11 @@ HorizontalOptions="Center" Text="Clear Text" VerticalOptions="Center" /> +