After a recent build, I noticed that my app goes fullscreen (statusbar visible) after start for no reason. The first view is a Google Map and when it is loaded, the
ionic.Platform.fullScreen(false, true); is called. It is because if the user opens the app for first time, there’s a fullscreen intro shown, then the user is navigated to the map, which shouldn’t be fullscreen. If this transition happens (the intro is opened) everything is fine, but if the user opens the app second+ time (no intro), then the map gets fullscreen with the statusbar visible, so half of the header is covered.
This happens only on Android. I recently upgraded Cordova CLI version, cordova-andoid version (because of missing splashscreen bug) plus Linux version. Tried many from cordova: 6.0.0, 6.4.0, 6.5.0; cordova-android: 6.0.0, 6.2.1., 6.2.2, 6.2.3
This does not happen on my colleague’s machine. It’s quite sad it does on mine, because I used to build the app.
Cordova CLI: 6.0.0 Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 1.3.0 Ionic CLI Version: 1.7.16 Ionic App Lib Version: 0.7.3 OS: Distributor ID: Ubuntu Description: Ubuntu 17.04 Node Version: v4.4.0
Any help is very much appreciated!