I am building a react native app, things work fine on expo client. But I am getting: 'Uncaught Error: Error calling AppRegistry.runApplication' in the log after splash screen.
I have added AppRegistry.registerComponent('main', ()=> App) and this works through Expo client. I was creating the SDK through expo build:android.
{
"main": "App.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject",
"test": "node ./node_modules/jest/bin/jest.js --watchAll"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/samples": "2.1.1",
"expo": "^32.0.0",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
"react-native-elements": "^1.1.0",
"react-native-material-cards": "^1.0.9",
"react-native-shadow": "^1.2.2",
"react-navigation": "^3.0.9",
"typescript": "^3.4.1"
},
"devDependencies": {
"babel-preset-expo": "^5.0.0",
"jest-expo": "^32.0.0"
},
"private": true
}