[ANDROID] [MAUI] Local notifications doesn't work in Release Android build. #444
Unanswered
MikeDenisov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I encountered an issue with local notifications in my MAUI app, specifically on the Android platform.
While everything worked fine in debug mode on both the emulator and device, I faced a perplexing challenge - notifications failed to arrive in the Release build.
This was despite having the necessary permissions and receiving positive responses from the Plugin.
After some investigation, I discovered a workaround: disabling Trimming and AOT compilation. Unfortunately, this increased the bundle size significantly, so I'm still on the lookout for a better solution.
Nonetheless, if you're dealing with a similar problem, consider adding the following lines to your .csproj file:
Beta Was this translation helpful? Give feedback.
All reactions