App.js (647:882)
undefined is not an object (evaluating ‘_expo.Constants.statusBarHeight’) (Device)
Evaluating module://App.js.js
Loading module://App.js
That snack was clearly written for an older SDK version and has not been updated to work with newer SDKs. The error is because it’s expecting to find Constants in the expo package, but it was moved to expo-constants a few SDK releases ago:
After you fix that you might find there’s other old code you need to fix before it works,