This upgrade expo and some dependences. However the builds then failed with an error referencing metro-react-native-babel-preset.
The fix for this was upgrading to a newer react-native-svg-transformer
yarn add react-native-svg-tranformer@^1.3.0
Next problem was something about utils.makeFifoCache missing. The stack trace showed this coming from the sentry-expo package.
The SDK 50 migration instructions say that sentry-expo was merged into @sentry/react-native but should still work. That doesn't seem to be the case for us, so I migrated to using the latest @sentry/react-native.
npx expo install --fix
sentry-expo
to@sentry/react-natvie
(https://github.com/expo/fyi/blob/main/sentry-expo-migration.md)The
@bothrs/expo-mixpanel-analytics
dependency is keeping us pinned to an old@expo/config
thatexpo doctor
says needs to be updated.This upgrade expo and some dependences. However the builds then failed with an error referencing
metro-react-native-babel-preset
.The fix for this was upgrading to a newer
react-native-svg-transformer
Next problem was something about
utils.makeFifoCache
missing. The stack trace showed this coming from thesentry-expo
package.The SDK 50 migration instructions say that
sentry-expo
was merged into@sentry/react-native
but should still work. That doesn't seem to be the case for us, so I migrated to using the latest@sentry/react-native
.Build now works on:
Android
iOS