79426026

Date: 2025-02-10 03:22:10
Score: 1.5
Natty:
Report link

Apparently, specifying a ScreenOrientation in MainActivity is required for a .Net MAUI Android app to receive orientation-related events. I say "apparently" because I haven't seen this requirement in any documentation, including the Android Platform documentation for ScreenOrientation.

Adding ScreenOrientation = ScreenOrientation.FullUser to the Activity Attribute for MainActivity caused my app to begin receiving ALL of the events listed in the question!

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shadovv