-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi,
With the latest releases of cordova-android 15 and cordova-ios 8 I see that each have started to implement the management of the status bar in each platform and that, for me, signals that the cordova-plugin-statusbar will be deprecated soon. The blog posts mentions that the latest versions do not require the statusbar plugin.
For me, I haven't been able to drop the status bar plugin with the latest releases of each platform. Our apps have been for a long time presented with the webview fully extented to the size of the screen (edge to edge). To be able to do this we have used StatusBarOverlaysWebView preference of the statusbar plugin and manage ourselves the insets.
In cordova-android we have now AndroidEdgeToEdge preference that extends the webview but I have not found a similar preference for iOS, which forces me to keep using the statusbar plugin. I think a similar preference should be implemented for that platform or simply have a single preference for both platforms like EnableEdgeToEdge.
With the new implementations of the statusbar within each respective platform there is no method to set the colour of the text like we had with the statusbar plugin with statusbarLightStyle and styleDefault. I need to be able to manage a proper contrast for the text if my app has light background. In this case I think each platform should implement a single function to do this: something like setColor with a parameter light or dark.
Has anyone faced these issues?
Alexandre Alves