Plugin.LocalNotification
Plugin.LocalNotification copied to clipboard
Notification scheduling doesnt work correctly in release
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