Skip to content

MAUI 8 release mode android: notification is not pushed in 10 seconds from now #516

@RpDoc-Christian

Description

@RpDoc-Christian

Hello,

when I want to push a local notification in android in 10 seconds from now it will be delivered and work fine in debug builds but not in release builds. In release the local notification will not be pushed.

A local notification witch shall be delivered directly work in both build conditions.

To Reproduce
Steps to reproduce the behavior:

Build and start the sample project in debug mode
Push button to get notification directly
Notification will be delivered
Push button to get notification in 10 seconds
Notification will be delivered
Build and start sample project in release mode
Push button to get notification directly
Notification will be delivered
Push button to get notification in 10 seconds
Notification will NOT be delivered

Expected behavior
The notification shall be delivered after 10 seconds in release mode too, not only in debug

Platform (please complete the following information):

OS: Android 34

Smartphone (please complete the following information):

Device: Google Pixel 6a
OS: Android
Version 14

A sample project is attached.

Project is .NET MAUI 8 in Visual Studio 2022 Version 17.10.5 and Plugin.LocalNotification Version 11.1.4

LocalPushNotificationTest.zip

Metadata

Metadata

Assignees

Labels

AndroidAndroid only issuebugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions