MainActivity base.OnCreate() crush

水元 翼 0 Reputation points
2024-08-30T07:09:25.5466667+00:00

The app is running on MAUI. When the app is in the background, the movement differs between the task being turned off and the state where it is not. If the task is in the background and the task is turned off, when the push notification comes, when the notification is pressed, it will transition to the app, but if the task is not turned off in the background, it will crash before transitioning to the app when the notification is pressed. The error is Handler is not set on Element, and the error is in the base. It's happening in OnCreate(bundle). The cause is unknown. Help me.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,757 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,337 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.