eas-cli: after upgrade to SDK 49 App Crash on Production when i upload it on Google Play
Build/Submit details page URL
https://expo.dev/accounts/oakoudad/projects/Biolens-App
Summary
the App was working fine, after i Upgrade to SDK 49, i test it on Android Studion emulator it worked fine, also in Expo go. => Expo doctor shows no Error
The Probelm is : After publishing new version of app on Google Play, the app Crash on oppening .
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info: System: OS: Windows 10 10.0.22621 Binaries: Node: 18.17.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: AI-222.4459.24.2221.10121639 npmPackages: expo: ^49.0.0 => 49.0.9 react: 18.2.0 => 18.2.0 react-dom: 18.2.0 => 18.2.0 react-native: 0.72.4 => 0.72.4 react-native-web: ~0.19.6 => 0.19.8 Expo Workflow: managed
**Expo Doctor output : **
WARNING: We recommend using PowerShell or Bash via WSL 2 for development with Expo CLI on Windows. You may encounter issues using cmd.exe.
✔ Check Expo config for common issues ✔ Check package.json for common issues ✔ Check dependencies for packages that should not be installed directly ✔ Check for common project setup issues ✔ Check npm/ yarn versions ✔ Check Expo config (app.json/ app.config.js) schema ✔ Check that native modules do not use incompatible support packages ✔ Check for legacy global CLI installed locally ✔ Check that packages match versions required by installed Expo SDK ✔ Check that native modules use compatible support package versions for installed Expo SDK
Didn’t find any issues with the project!
Error output
No response
Reproducible demo or steps to reproduce from a blank project
the project show no error, i will include here the Packages i’m using.
packages.json
{
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/datetimepicker": "7.2.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/netinfo": "9.3.10",
"@react-native-picker/picker": "2.4.10",
"@react-navigation/bottom-tabs": "^6.5.4",
"@react-navigation/drawer": "^6.5.8",
"@react-navigation/material-top-tabs": "^6.5.3",
"@react-navigation/native": "^6.1.3",
"@react-navigation/native-stack": "^6.7.0",
"axios": "^0.24.0",
"deprecated-react-native-prop-types": "^2.3.0",
"expo": "^49.0.0",
"expo-camera": "~13.4.2",
"expo-checkbox": "~2.4.0",
"expo-dev-client": "~2.4.8",
"expo-device": "~5.4.0",
"expo-document-picker": "~11.5.4",
"expo-image-picker": "~14.3.2",
"expo-media-library": "~15.4.1",
"expo-notifications": "~0.20.1",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.12",
"form-data": "^4.0.0",
"graphql": "^16.8.0",
"lodash.filter": "^4.6.0",
"moment": "^2.29.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.4",
"react-native-gesture-handler": "~2.12.0",
"react-native-gifted-chat": "^0.16.3",
"react-native-modal": "^13.0.1",
"react-native-pager-view": "6.2.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-simple-radio-button": "^2.7.4",
"react-native-tab-view": "^3.3.4",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true,
"name": "biolens",
"version": "1.0.0"
}
Eas.json
{
"cli": {
"version": ">= 0.52.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal",
"android": {
"buildType": "apk"
}
},
"production": {
"android": {
}
}
},
"submit": {
"production": {
}
}
}
About this issue
- Original URL
- State: open
- Created 10 months ago
- Comments: 24 (1 by maintainers)
I removed the “react-native-reanimated”: “~3.3.0”,dependency and it solved my problem.
observation: the build eas development works without problems with the dependency, however the build eas internal preview(apk) crashes
this Problem really took me many days. the big problem is i dont get an Error or just warning about where the problem could be.
I had to Downgrade to SDK 48 to make it Work, that prove that there’s a problem while using SDK 49
I am having this issue. Proposed solutions are not working.
SDK 49 does not work for me either. I had to downgrade to SDK 48. It somehow works in development mode with expo start but does not work when building it with eas. I will be happy to help with this issue and provide more information if needed.