I mean the error changes depending on the following:
- Only
expo-images-picker
installed expo-images-picker
andexpo-image-picker
installedexpo-images-picker
andexpo-linear-gradient
installed- All three installed
But anyway, as you pointed out, the problems are with expo-images-picker
.
EDIT:
By the way, @laneboyandrew, I found this by creating a new app and then taking the dependencies from your package.json
. I did not change the JavaScript at all.
I then upgraded expo-linear-gradient
, which expo doctor
complained was slightly out of date.
After that I removed some dependencies that should probably be devDependencies (e.g. the eslint stuff).
Then I built the app to reproduce the crash.
After that I moved expo
, react
, react-dom
and react-native
to the top of the list of dependencies to facilitate the rest of the process.
Then I removed about half of the dependencies and built again to confirm it still crashed.
If it did not crash I reverted the last change (i.e. I added back the dependencies I removed in the previous step) and instead removed the other half. Then I built again to confirm that it crashed.
Otherwise if it did still crash I took the remaining dependencies and removed another half and built again. I repeated this process until I got to the three dependencies mentioned above and one other one. Then I started removing them one by one and narrowed down on expo-images-picker
being the problem, but I noticed that the error was different. Then I tried adding back the other two in different combinations and found that it still crashed, but that the error was different.