My react native app was working just fine before I used expo eject
. I ejected it because I now intend to build and release the app to the ios app store. As soon as I attempt to start the ejected app using react-native run-ios
after it's been ejected I get the exception below.
Please could someone help to understand what's causing this issue and how to tackle it?
react Native versions as follows:
react-native-cli: 2.0.1react-native: 0.61.5
TypeError: null is not an object (evaluating 'SplashScreen.preventAutoHide')This error is located at: in AppLoading (at AppLoading.js:52) in AppLoading (at App.js:464) in App (at renderApplication.js:40) in RCTView (at AppContainer.js:101) in RCTView (at AppContainer.js:119) in AppContainer (at renderApplication.js:39)preventAutoHide SplashScreen.js:4:21AppLoading#constructor AppLoadingNativeWrapper.js:6:8renderRoot [native code]:0runRootCallback [native code]:0renderApplication renderApplication.js:52:52runnables.appKey.run AppRegistry.js:116:10runApplication AppRegistry.js:197:26callFunctionReturnFlushedQueue [native code]:0