React-native-navigation: [V3-alpha.8] Status bar space on android 4.4

Created on 30 Jul 2019  路  7Comments  路  Source: wix/react-native-navigation

Issue Description

Space between top bar and status bar on android 4.4

Steps to Reproduce / Code Snippets / Screenshots

Screenshot 2019-07-30 at 16 27 39

(Top bar is green and status bar is black)


Environment

  • React Native Navigation version: 3.0.0-alpha.8
  • React Native version: 0.60.4
  • Platform(s) : Android
  • Device info: Simulator Nexus 4 API 19 (4.4) Debug
Android acceptebug looking for contributors

Most helpful comment

Hey guys,
I'm sorry this wasn't communicated properly - RNN officially supports API 21 and above.

IMO, supporting API 19/20 devices is not worth it for two reasons:

  1. The user base is very small and doesn't justify the effort
  2. RN doesn't perform well on these low end devices

That being said, I'm open to accepting a PR to fix this issue.

All 7 comments

I'm also seeing this - also using 3.0.0-alpha-8. Happens to me on Samsung Galaxy S4

Seems to be happening on Android API <=19 as it's fine on most modern API versions

Hey guys,
I'm sorry this wasn't communicated properly - RNN officially supports API 21 and above.

IMO, supporting API 19/20 devices is not worth it for two reasons:

  1. The user base is very small and doesn't justify the effort
  2. RN doesn't perform well on these low end devices

That being said, I'm open to accepting a PR to fix this issue.

@guyca ok interesting. I'm happy to take a crack at it though I don't have any idea what that white space is even called. Any tips would be appreciated.

BTW - I have a 2014 SG S4 on API 19 and it's performing amazingly with react-native-navigation. The only issue I'm having is this status bar issue.

Hey any update on this?
I've tried this today on android 4.4 (API 19) and android 5.1.1 (API 22) according to https://developer.android.com/about/dashboards.

On Android 4.4 I get problems like @bneigher and also on Android 5.1.1 I get the same problem.
I tried to use topMargin and it runs properly, but when I remove statusBar (set drawBehind: true and visible: false), the topBar will run improperly and there is a distance between topBar and the content

note. i have not tried it on higher API

UPDATE:
set translucent statusBar will 'solve' the problem

I have the same problem

Lets close this as API 19 is not supported and it doesn't look like anybody is going to tackle it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nbolender picture nbolender  路  3Comments

yayanartha picture yayanartha  路  3Comments

viper4595 picture viper4595  路  3Comments

henrikra picture henrikra  路  3Comments

zagoa picture zagoa  路  3Comments