I’m on managed workflow, SDK 44. My app works fine when I’m testing it by expo-dev-client. But when I try to test with a production build, in an iOS simulator, it crashes. I tried sending it to App Store but they rejected it because of the same reason. I did set up Sentry, and the only error that it gives me is “OutOfMemory”, something related to RAM. The production build works fine on Android.
My package.json:
{
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@expo-google-fonts/poppins": "^0.2.0",
"@firebase/firestore-types": "^2.3.0",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/masked-view": "0.1.10",
"@react-native-community/slider": "4.1.12",
"@react-native-google-signin/google-signin": "^7.0.1",
"@react-navigation/bottom-tabs": "^5.11.11",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"@sentry/react-native": "^3.1.1",
"axios": "^0.21.1",
"expo": "^44.0.0",
"expo-app-loading": "~1.3.0",
"expo-apple-authentication": "~4.1.0",
"expo-application": "~4.0.1",
"expo-auth-session": "~3.5.0",
"expo-av": "~10.2.0",
"expo-constants": "~13.0.0",
"expo-crypto": "~10.1.1",
"expo-dev-client": "~0.8.0",
"expo-device": "~4.1.0",
"expo-file-system": "~13.1.0",
"expo-firebase-recaptcha": "~2.1.0",
"expo-font": "~10.0.4",
"expo-notifications": "~0.14.0",
"expo-random": "~12.1.1",
"expo-screen-orientation": "~4.1.1",
"expo-status-bar": "~1.2.0",
"expo-updates": "~0.11.4",
"firebase": "8.2.3",
"formik": "^2.2.9",
"lodash": "^4.17.21",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-autoheight-webview": "^1.5.8",
"react-native-calendars": "^1.1266.0",
"react-native-gesture-handler": "~2.1.0",
"react-native-masked-text": "^1.13.0",
"react-native-progress": "^5.0.0",
"react-native-purchases": "^4.3.1",
"react-native-reanimated": "~2.3.1",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.10.1",
"react-native-svg": "12.1.1",
"react-native-svg-transformer": "^0.14.3",
"react-native-web": "0.17.1",
"react-native-webview": "11.15.0",
"react-native-youtube": "^2.0.2",
"react-native-youtube-iframe": "^2.2.1",
"rn-pdf-reader-js": "^4.1.1",
"sentry-expo": "^4.0.0",
"styled-components": "^5.3.0",
"yup": "^0.32.9"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@types/react": "~17.0.21",
"@types/react-native": "~0.64.12",
"@types/react-native-calendars": "^1.1264.2",
"@types/styled-components": "^5.1.10",
"@types/styled-components-react-native": "^5.1.1",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier-standard": "^4.0.1",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.24.0",
"prettier": "2.3.2",
"prettier-config-standard": "^4.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "~4.3.5"
},
"private": true
}