Description
Bug Report
Problem
iPhone 14 pro has a new status bar with the floating island. Instead of the safe inset being 47 points like with the notch based iPhones, it is now 59 points. See this detailed blog post about the new safe are with the dynamic island: [https://useyourloaf.com/blog/iphone-14-screen-sizes/]
The code just measures the height of the status bar and not the safe zone.
What is expected to happen?
on iOS the webview should be below the safe area inset.
What does actually happen?
the webview is above the safe area inset and it causes all types of issues depending on the UI because touch events on the safe area are sent to the whole html page.
Information
Just use the plugin with StatusBar.overlaysWebView(false); on a iPhone 14 pro
Command or Code
having the overlay be false and on an iPhone 14 pro.
Environment, Platform, Device
iOS, iphone 14 pro, xCode 14.
Version information
cordova cli v 11.0.0
cordova iOS v6.2.0
cordova-plugin-statusbar v4.0.0-dev
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above