Can't play a custom notification, it keeps playing the default.
WhileTrueThenRock opened this issue · 2 comments
Describe the bug
Hello, i've followed this guide:
https://github.com/thudugala/Plugin.LocalNotification/wiki/Notification-with-a-Sound-File
Screenshots
I've attached 2 screenshots
I'm on windows 10, visual studio code 17.9.6
Pixel 5 api 35, .net 8 , latest version of plugin.LocalNotification 11.1.2
Any tips ?
Much appreciated anyways!
@WhileTrueThenRock
It looks like you are using Maui, correct? Then you should move the "raw" folder til the Platforms -> Android and/or iOS -> Resources folder. Not in the root Resources folder. Remember to rebuild the project.
Also make sure these are set:
Must be 128kps (320kps does not work)
BuildAction must be set to AndroidResource
Thanks for answering, it worked!
It was moving the folder to the platform of Android and setting the buildAction to Android Resource