Skip to content
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

Open
leecrossley opened this issue Nov 13, 2013 · 10 comments
Open

StatusBar flicker #6

leecrossley opened this issue Nov 13, 2013 · 10 comments

Comments

@leecrossley
Copy link

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.

@bau720123
Copy link

how a bout this
setTimeout(function()
{
//to something first or just show splashscreen first
StatusBar.hide(); }, 2000
);

@leecrossley
Copy link
Author

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.

@wildabeast
Copy link
Member

@leecrossley are you building locally or on PhoneGap Build?

(if you still care, this is 4 months old)

@leecrossley
Copy link
Author

Not sure it's the same as #4 (and yes, I still care).

@wildabeast
Copy link
Member

@leecrossley yeah posted that comment to the wrong thread -- deleted :P

Building locally or on PhoneGap Build?

@wildabeast
Copy link
Member

Are you using this code to hide on startup? https://github.com/phonegap-build/StatusBarPlugin#hiding-at-startup

@leecrossley
Copy link
Author

Building locally, and yes, I'm hiding on app launch (through the xcode ui). This is what causes the flicker.

@orenagiv
Copy link

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.
Once the Cordova is ready, and when my App needs to I use Show() and I don't see any flickering prior to that.

@leecrossley
Copy link
Author

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.

@bau720123
Copy link

thanks @leecrossley
if you find a issue still on 3.3
please let me know too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants