Skip to content

cordova-android@15 webview truncated at bottom #1919

@itbeyond

Description

@itbeyond

Bug Report

Problem

What is expected to happen?

Updating to cordova-android@15 should render the same size webview as it did in 14. If I revert to 14 it works as expected.

What does actually happen?

After updating an app to cordova-android@15 the bottom of the webview is truncated and not filling the device screen. As per the release blog I have removed cordova-plugin-splashscreen, cordova-plugin-statusbar - I was also using and have removed cordova-plugin-fullscreen and cordova-plugin-android-edge-to-edge. Removed and re added cordova-android@15. The app boots with full screen splashscreen then opens up with the bottom of the webview truncated.

If I look at the webviews in the chrome://inspect/#devices I can see the truncation:
Image

If I turn on preference name="Fullscreen" value="true" the app renders corrently in full screen view.

On my real test device if I put the app into desktop workspaces the size of the app is correct and when I select Remove from desktop workspace the app temporarly goes to the right size and then reduces back to the truncated size.

Version information

Cordova - 13.0.0
Cordova-Android 15.0.0

Plugins in Use

branch-cordova-sdk 6.5.1 "branch-cordova-sdk"
com.itbeyond.storage 5.0.0 "StoragePlugin"
cordova-background-geolocation 4.18.0 "BackgroundGeolocation"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-app-review 3.1.0 "AppReviewPlugin"
cordova-plugin-background-fetch 7.2.4 "CDVBackgroundFetch"
cordova-plugin-battery-status 2.0.3 "Battery"
cordova-plugin-camera 8.0.0 "Camera"
cordova-plugin-device 3.0.0 "Device"
cordova-plugin-file 8.1.0 "File"
cordova-plugin-file-opener2 4.0.0 "File Opener2"
cordova-plugin-inappbrowser 6.0.0 "InAppBrowser"
cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ios-disableshaketoedit 1.0.0 "iOS Disable Shake to Edit"
cordova-plugin-mediapicker-dmcsdk 2.5.1 "MediaPicker"
cordova-plugin-network-information 3.0.0 "Network Information"
cordova-plugin-openwith 1.0.0 "OpenWith"
cordova-plugin-purchase 13.13.1 "Purchase"
cordova-plugin-statusbar 4.0.0 "StatusBar"
cordova-plugin-tts 0.2.3 "TTS"
cordova-plugin-wkwebview-file-xhr 3.1.1 "Cordova WKWebView File XHR Plugin"
cordova-plugin-x-socialsharing 6.0.4 "SocialSharing"
cordova-plugin-zip 3.1.0 "cordova-plugin-zip"
cordova-sqlite-evmax-build-free 0.1.1 "Cordova sqlite storage"
cordova-support-android-plugin 2.0.4 "cordova-support-android-plugin"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-deeplinks 1.0.22 "Ionic Deeplink Plugin"
@havesource/cordova-plugin-push 7.0.0 "Cordova Push Plugin"

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
    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