Plugin.LocalNotification icon indicating copy to clipboard operation
Plugin.LocalNotification copied to clipboard

Notification scheduling doesnt work correctly in release

Open Kebechet opened this issue 1 year ago • 0 comments

Describe the bug In my MAUI project when I had a notification scheduled on my Android device, then the notification didnt show icon and didnt play the sound I have specified

Solution In FAQ the last point mentions TrimmerRootAssembly but it is missing one attribute. It should be:

<ItemGroup>
    <TrimmerRootAssembly Include="Plugin.LocalNotification" RootMode="library"/>
</ItemGroup>

after that it started to work correctly.

So please:

  • add this attribute into FAQ Wiki
  • mention it in https://github.com/thudugala/Plugin.LocalNotification/wiki/3.-Scheduled-Android-notifications wiki page

Platform (please complete the following information):

  • OS: Android
  • Version 34

Smartphone (please complete the following information):

  • Device: Pixel6
  • OS: Android 14

Kebechet avatar May 13 '24 11:05 Kebechet