Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When I go back to the app after calling other apps (Camera, Gallery, Facebook, Google Plus ..) on iOS, there is a problem where the top statusbar overlaps.
Expected behavior:
The status bar should not overlap.
Steps to reproduce:
Ionic native Camera, when you return to the current app after calling the camera app, the top status bar overlaps.
Related code:
Part of the source content
-- StatusBar.styleDefault();
-- StatusBar.overlaysWebView(false);
Call these two methods
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.3
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.5
Xcode version: Xcode 8.2.1 Build version 8C1002
insert the output from ionic info here
-none
Thanks, we will look into this!
Same problem for me. Any solution?
Same problem.
Cordova: 6.4.0
cordova-ios: 4.3.0
xcode: 8.2.1
cordova-plugin-statusbar 2.2.1
config.xml:
Initialy status bar is not overlayed on application.
But after losing focus from any native functionality (camera, contact list) status bar overlaps application. It seems like it has been reinitalized.
Statusbar plugin has js api and after calling
StatusBar.overlaysWebView(true);
StatusBar.overlaysWebView(false);
it restores statusbar overlap.
Any updates on this?
Why does not this problem get fixed soon? This is not a small problem. Thank you for your quick patch.
In my case, delete the plugins directory, and reinstall all those cordova plugins by entering ionic cordova prepare fixed the issue.
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!