Skip to content

Statusbar overlays complete app when setting StatusBarOverlaysWebView to false on Android 7/8 using cordova-plugin-statusbar #1947

Description

@GitToTheHub

Bug Report

Problem

When using the plugin cordova-plugin-statusbar and setting StatusBarOverlaysWebView to false in config.xml:

<preference name="StatusBarOverlaysWebView" value="false" />

the complete app is covered by the statusbar:

Android 7.1.1 emulator

This does not happen on Android 9 and newer.

What is expected to happen?

Setting StatusBarOverlaysWebView to false should just display the statusbar and the web view after.

What does actually happen?

The statusbar covers the whole app.

Information

This was tested in a Hello World app with adding the lastest master of cordova-android.

Command or Code

Environment, Platform, Device

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

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