-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StatusBar flicker #6
Comments
how a bout this |
The problem is there is a short gap between the native showing of the status bar after application launch and the earliest opportunity to hide the status bar during via the plugin, meaning the status bar is shown for a few milliseconds. This makes the app look like it has a glitch, so my workaround currently is to just show the status bar during application launch and programatically hide the splash screen and status bar at the same time at the earliest available opportunity (after device ready). It's not ideal to have the status bar on the splash screen though. |
@leecrossley are you building locally or on PhoneGap Build? (if you still care, this is 4 months old) |
Not sure it's the same as #4 (and yes, I still care). |
@leecrossley yeah posted that comment to the wrong thread -- deleted :P Building locally or on PhoneGap Build? |
Are you using this code to hide on startup? https://github.com/phonegap-build/StatusBarPlugin#hiding-at-startup |
Building locally, and yes, I'm hiding on app launch (through the xcode ui). This is what causes the flicker. |
I'm unable to reproduce this. I use PGB 3.3 with the latest StarusBar plugin, and hiding on startup using the info.plist update through the config.xml. |
I see (not using PhoneGap build) a flicker but this isn't on v3.3 - I'll upgrade this project and confirm if it is still an issue. |
thanks @leecrossley |
Using the "Hide status bar during application launch" option followed by
StatusBar.hide()
as soon as the deviceready event is fired, causes the statusbar to appear for a short period of time.The text was updated successfully, but these errors were encountered: