79820150

Date: 2025-11-14 15:03:41
Score: 5
Natty:
Report link

Are you sure your OnSleep function in App.xaml.cs is actually getting called?
https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/app-lifecycle?view=net-maui-9.0
According to this link you should be overriding OnPause, OnSleep does not seem to exist.

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Judeh Alaaraj