React Native Expo StackNavigator overlaps Notification bar

If you wrap your entire app in a View with a top margin, it will work.

Example: https://snack.expo.io/r1gb9TGH-

In the future, we're going to build this into react-navigation so it happens for you automatically.

import React, {Component} from 'react';
import {StatusBar, View} from 'react-native'
import {StackNavigator} from 'react-navigation';
import Home from './app/screens/Home';

const RootNavigator = StackNavigator({
  Home: { screen: Home }
})

export default class App extends Component {
  render() {
    return (
      <View style={{ flex: 1, marginTop: StatusBar.currentHeight }}>
        <RootNavigator />
      </View>
    )
  }
}

add this line to app.json file

"translucent": false

in "androidStatusBar"

like this:

"androidStatusBar": {
  "barStyle": "light-content",
  "backgroundColor": "#3a81fd",
  "hidden": false,
  "translucent": false
},

read more in : Configuring StatusBar Docs