I have updated my project to Expo SDK 51 and vector icons stopped working. It doesn’t show the icons anymore when I start the project from Expo Go.
I have tried updating babel config as suggested from the web:
module.exports = function (api) {
api.cache(true)
return {
presets: ['babel-preset-expo'],
plugins: [
'react-native-reanimated/plugin',
'transform-inline-environment-variables',
[
'module-resolver',
{
alias: {
'@': './src',
'^react-native-vector-icons(/.*)?$': '@expo/vector-icons$1',
},
},
],
],
env: {
production: {
plugins: ['react-native-paper/babel'],
},
},
}
}
New contributor
Afab is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.