-
I've tested notifications in the Android emulator (on Visual Studio 2022 17.5.0 Preview 2.0) and everything seems to work great. I have tested it recurring every 5 minutes and it works as expected. I've tried closing the app on the emulator and the notification still fires (as expected). When I connect my Samsung Galaxy S22+ and deploy to it through Visual Studio 2022, the notifications never fire. Is this a known issue with Samsung phones or do I need to do something different when deploying to a physical device? When I install the app on the physical device, it prompts if I want to enable notifications, which I accept. I am deploying in debug mode, which might also be the issue. Any guidance is greatly appreciated. I've been trying to research/troubleshoot this for the past couple of days but I can't find much on it. I have this in my MauiProgram.cs, and my physical device is Android 13 (API v33). #if IOS || ANDROID33_0_OR_GREATER Below is my code. I am targeting .NET7. public async void ConfigureNotifications()
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@jbloink Have you confirmed notification setting is actually enabled? |
Beta Was this translation helpful? Give feedback.
@jbloink Have you confirmed notification setting is actually enabled?