Skip to content

["1.14.2"]CallComposite ignores system insets #1186

@ARASHz4

Description

@ARASHz4

Describe the bug
When launching CallComposite, the UI ignores Android system insets (status bar and navigation bar).
The call screen is displayed fullscreen under the system bars, which makes the UI look cut off and inconsistent with other Android apps.

To Reproduce
Steps to reproduce the behavior:

  1. Integrate CallComposite in an Android project.
  2. Launch it from an AppCompatActivity.
  3. Observe the call screen.
  4. Notice that the UI goes under the status bar/navigation bar.
  5. This bug is always reproducible.

Expected behavior
The CallComposite should respect WindowInsets (safe areas) and adjust UI so that it does not overlap with system bars.

Screenshots
Image

AzureCommunicationUILibrary (please complete the following information):

  • Version [1.14.2]

Smartphone (please complete the following information):

  • Device: [Pixel 6 Emulator]
  • API: [API 36]

Call Logs
Collect and attach call logs Enable and access call logs

Additional context
In a normal Activity, this issue can be fixed by handling WindowInsets or using:

WindowCompat.setDecorFitsSystemWindows(window, false)

But since CallComposite manages its own Activity, developers have no direct control to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions