Skip to content

Cordova Android 15: StatusBar plugin deprecation, overlay behavior, back button & keyboard resize issues #584

@NityaSantosh26

Description

@NityaSantosh26

After upgrading to cordova-android@15.0.0, I have a few questions and issues regarding recent platform changes, especially around status bar handling and layout behavior.


  1. StatusBar plugin deprecation / replacement

As mentioned in the official announcement, the status bar plugin is no longer required and functionality is now built into the platform.
Does this mean cordova-plugin-statusbar should be completely removed in all cases?
Is window.statusbar expected to work without the plugin, or is there a new API surface?
Additionally, some functionality previously available via the plugin (e.g. text color, overlays, styling) does not seem to have a clear replacement yet.

  1. StatusBarOverlaysWebView preference

Previously, we relied on:
<preference name="StatusBarOverlaysWebView" value="true/false" />
What is the equivalent behavior in Cordova Android 15?
Is this now controlled via AndroidEdgeToEdge or another preference?
If the plugin is removed, is this preference ignored?

  1. Mixing plugin + new platform behavior

If we continue using cordova-plugin-statusbar alongside the new built-in handling:

Are there known conflicts?
Is this combination officially supported or discouraged?
My Observation: window.statusbar.setBackgroundColor doesn't set the color

  1. Android back button behavior

Regarding issue:
apache/cordova-android#1904

Should we apply the suggested workaround?
Or is a fix planned in an upcoming release?

  1. Keyboard no longer resizing WebView

After upgrading to Cordova Android 15:

When the keyboard opens, the WebView no longer resizes (it overlaps content)
This was working correctly in previous versions

Questions:
Is this expected behavior due to edge-to-edge changes?
Is there a recommended configuration or fix?


Would appreciate clarification and guidance.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions