I have created a React Native app using expo commands as expo init ProjectNameand in this project I have used expo-constants using npm i expo-constants commands . But now I converted this app to newly using npx react-native init ProjectName so that I can easily make APK file.
I imported expo-constants as below:
import Constants from 'expo-constants';
const StatusBarHeight = Constants.statusBarHeight;
Note: The error is given in attached file.
Please Concern Here: Which Package should I use instead of expo-constants when I would used npx react-native init ProjectName command to create a react-native app? Advanced Thanks!