Status bar overlaps content after closing the camera [iOS]
Bug Report
In iOS 13 and 14 after closing the camera (either taking a photo or cancel it) the content of the WebView goes beneath the status bar and can't go back anymore. It works fine in iOS 15. I've seen some posts referring to this problem where they mention that was cordova-plugin-statusbar fault but we don't have it installed.
I've seen a suggestion to change this value to "NO" but that didn't work either (https://github.com/jjtfsalgado/cordova-plugin-camera/commit/d498b3bf858147d43538f54cfc25f67439ed28b0)
Do you guys have any suggestions?
Problem
What is expected to happen?

What does actually happen?

Information
As mention above it works fine in iOS 15 (and 12) but not in iOS 13 and 14.
Command or Code
This is our config.xml (excluding android)
<platform name="ios">
<allow-intent href="itms:*"></allow-intent>
<allow-intent href="itms-apps:*"></allow-intent>
<config-file parent="CFBundleURLTypes" target="*-Info.plist"></config-file>
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
<string>This app needs the camera for attachments</string>
</config-file>
<config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
<string>This app needs to access your photo gallery for attachments</string>
</config-file>
</platform>
<preference name="SplashMaintainAspectRatio" value="true"></preference>
<preference name="ShowSplashScreenSpinner" value="false"></preference>
<preference name="SuppressesLongPressGesture" value="true"></preference>
<preference name="DisallowOverscroll" value="true"></preference>
<preference name="AllowedSchemes" value="com.iplicit.ios"></preference>
<preference name="fullscreen" value="false"></preference>
<preference name="StatusBarOverlaysWebView" value="false"></preference>
<preference name="android-minSdkVersion" value="19"></preference>
<plugin name="cordova-plugin-network-information" spec="^2.0.2"></plugin>
<plugin name="cordova-plugin-device" spec="^2.0.3"></plugin>
<plugin name="cordova-plugin-whitelist" spec="~1.3.4"></plugin>
<plugin name="cordova-plugin-splashscreen" spec="~5.0.3"></plugin>
<plugin name="cordova-plugin-inappbrowser" spec="~5.0.0"></plugin>
<hook src="hooks/patch-index-html-version.js" type="before_prepare"></hook>
Environment, Platform, Device
iPhone 11 - iOS 14.7.1 iPhone 11 - iOS 14.8 iPhone X - iOS 13.7
Version information
"dependencies": {
"@electron/typescript-definitions": "^8.9.4",
"@havesource/cordova-plugin-push": "2.0.0",
"@types/cordova": "^0.0.34",
"@types/react": "^17.0.13",
"@types/react-dom": "^17.0.8",
"cordova-android": "^9.1.0",
"cordova-ios": "^6.2.0",
"cordova-plugin-camera": "^6.0.0",
"cordova-plugin-customurlscheme": "^5.0.2",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-inappbrowser": "github:xxx/cordova-plugin-inappbrowser#5.0.x",
"cordova-plugin-secure-storage-echo": "github:xxx/cordova-plugin-secure-storage",
"cross-env": "^7.0.3",
"cordova-plugin-androidx-adapter": "1.1.3",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-fingerprint-aio": "4.0.2",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-whitelist": "^1.3.4",
"oidc-client": "^1.11.5",
"file-loader": "^6.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.3.0",
"ts-loader": "^9.2.3",
"typescript": "^4.2.4",
"webpack": "^5.42.0",
"webpack-cli": "^4.7.2",
"xml-formatter": "^2.6.1",
"xml2json": "^0.11.2"
}
Checklist
- [ X] I searched for existing GitHub issues
- [ X] I updated all Cordova tooling to most recent version
- [ X] I included all the necessary information above