Closed UZ8VLqifK36Z closed 1 month ago
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.
Please see the Contributing Guide for how to create a Sample App.
Thanks! Ionitron π
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.
Have a great day! Ionitron π
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.
Bug Report
Plugin(s)
local-notifications
Capacitor Version
Platform(s)
Android
Current Behavior
Hello, I'm not sure if this is really a bug or if the documentation needs to be updated, but building with the shrinkResources option prevents sound from being played with notifications. https://developer.android.com/build/shrink-code
I have carefully checked the Capacitor documentation, but I didn't find anything warning against this build option.
Other Technical Details
Tested on virtual Android 10.0 (Google Play) and 14.0 (Google Play) β no sound. Also tested on two physical devices running Android 14. One physical device gives default system sound and the other gives no sound I think the option shrinkResources delete the sound file placed in the res/raw folder.