Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

[Bug] DeviceDisplay.MainDisplayInfoChanged not fired if app is in background (Android) #1975

@AlleSchonWeg

Description

@AlleSchonWeg

Description

If an app, which registered the DeviceDisplay.MainDisplayInfoChanged event, is in background and you rotate the device the event is not fired. Even if the app comes to foreground again.

iOS works as expected.

Steps to Reproduce

See description.

Expected Behavior

DeviceDisplay.MainDisplayInfoChanged event should be raised when app comes back to foreground.

Actual Behavior

DeviceDisplay.MainDisplayInfoChanged is never raised.

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: VS 2022
  • Platform Target Frameworks: Android
    • iOS:
    • Android: 12
    • UWP:
  • Android Support Library Version:
  • Nuget Packages: Essentials Version 1.7.1
  • Affected Devices: Tested with simulator API 24

Screenshots

Reproduction Link

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions