Open in app
Cing Sian Dal
41 Followers
About

Sign in

41 Followers
About
Open in app

undefined is not an object (evaluating ‘_expo.Constants.statusBarHeight’)

Cing Sian Dal

Cing Sian Dal

Dec 11, 2019·1 min read

Here is the solution:

import Constants from 'expo-constants';

Written by

Cing Sian Dal

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

  • React Native
  • React Native Development

More from Cing Sian Dal

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

More From Medium

Handling API in React Native

Sudhir Kumar in Better Programming

Multiple Language Support in React Native: Part 1

Nishant Neeraj in cybermonkey

React Native Navigation (V2) by Wix — Getting Started

Nader Dabit in React Native Training

How to Create a Multi-Pane Drawer in React Native

Morgan Laco in Red Shift

How to create responsive layouts in React Native

Jakub Zielinski in Miquido News

17 Things to Remember Before Developing an App

Josef Cruz in JavaScript In Plain English

Introduction to React Navigation and Navigators in React Native

Ross Bulat

Creating a Multi-Language App in React Native

Vikrant Negi in Better Programming

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store