Expo.Constants.statusBarHeight is undefined

#1

On the Android emulator, statusBarHeight is not defined. Is this a bug?

#2

Which Android emulator are you using? AVD, Genymotion?

#3

I tried both.

#4

Can you paste an example of the code that reproduces this? Maybe try using https://snack.expo.io/, as that also uses Android emulators if you toggle the platform over to Android on the bottom.

#5

Sigh… I was my fault. I was doing

            import Constants from ‘expo’;

Rather than

            import { Constants } from ‘expo;