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

Status bar color sits at bottom on iPad #20

Open
gaga1227 opened this issue Feb 25, 2014 · 9 comments
Open

Status bar color sits at bottom on iPad #20

gaga1227 opened this issue Feb 25, 2014 · 9 comments

Comments

@gaga1227
Copy link

Here's how to reproduce the issue:

  1. Rotate your iPad upside down (the home button on top), the iOS screen rotates to suit the orientation change
  2. Launch the app in this orientation mode and you will see the status bar background color placeholder is at the bottom below the web view, while the real status bar still sits at top without custom set background colour
@wildabeast
Copy link
Member

I couldn't reproduce this, but its likely the same issue as #4, and should be fixed in the latest version of this plugin (1.1.0).

@gaga1227
Copy link
Author

Great, thanks! Checked PhoneGap Build is still injecting 1.0.1. Guess that's why, will wait for the update on their end.

@wildabeast
Copy link
Member

@gaga1227 I assume you simply ran a rebuild on PhoneGap Build? You need to update your code before it will pull the new version. Just re-upload your zip file or run a git update.

@gaga1227
Copy link
Author

Thanks for the heads up, I followed the instructions on this page:https://build.phonegap.com/plugins/304, where I left out the version code to get the latest version, seems 1.0.1 is the latest it can get? Or I can manually override the version code to 1.1.0?

@wildabeast
Copy link
Member

Hmmm if you omit the version, then yes it should use the latest. Try explicitly adding version 1.1.0 to your config.

@gaga1227
Copy link
Author

Update: PhoneGap Build has the latest version 1.1.0 now: https://build.phonegap.com/plugins/505
I tried with and without the specified version code of 1.1.0 and I can still see the problem happening in my case.
pgb
img_0023

@gaga1227 gaga1227 reopened this Feb 25, 2014
@wildabeast
Copy link
Member

OK I managed to reproduce this -- iPad only. Something to do with differences between the iPad and iPhone in how the coordinate system rotates when the device is rotated.

A quick work around until we (contributions welcome) can fix this might be to lock the orientation to Portrait and LandscapeRight (but not PortraitUpsideDown and LandscapeLeft).

@gaga1227
Copy link
Author

Thanks, will try the suggested workaround, but hopefully the proper fix is coming soon.

@ChaplinWang
Copy link

Hi Guys, I am encountering this same issue as well, has anyone figured out how to fix it yet?

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

3 participants