GitHub user JordinKee created a discussion: Cordova Android 15 - window.statusbar API
With the release of Cordova Android 15.0.0, functionality of the StatusBar plugin was integrated into Cordova Android (though, there seems to be an [issue](https://github.com/apache/cordova/issues/592)). Part of the functionality is now exposed through the window.statusbar object. The window.statusbar object is part of the HTML specification (https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar) and contains a single property: readonly visible. To expand on that object feels strange to me. Moreover, it creates a bit of a hurdle for TypeScript users as we have to convince TS that this object's visible property is in fact not readonly, for example. Why no use something like a global cdvStatusBar object and prevent the confusion? GitHub link: https://github.com/apache/cordova/discussions/593 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
