I'm trying to add SVG icons for android, but it seems like it isn't supported.
I get this error and couldn't find anything online about it...
Error: [android.dangerous]: withAndroidDangerousBaseMod: Invalid mimeType for image with source: ./src/assets/quick-actions/upcoming-android.svg
at ensureImageOptionsAsync (/Users/jules/Documents/app/tb-app-v2/node_modules/@expo/image-utils/build/Image.js:166:15)
at async generateImageAsync (/Users/jules/Documents/app/tb-app-v2/node_modules/@expo/image-utils/build/Image.js:206:18)
at async generateIconAsync (/Users/jules/Documents/app/tb-app-v2/node_modules/expo-quick-actions/plugin/build/withAndroidAppIcon.js:255:13)
at async /Users/jules/Documents/app/tb-app-v2/node_modules/expo-quick-actions/plugin/build/withAndroidAppIcon.js:186:25
at async Promise.all (index 0)
at async generateMultiLayerImageAsync (/Users/jules/Documents/app/tb-app-v2/node_modules/expo-quick-actions/plugin/build/withAndroidAppIcon.js:185:5)
Here's how I've set them up in my app.config.ts
'expo-quick-actions',
{
androidIcons: {
basket: {
foregroundImage: './src/assets/quick-actions/basket-android.svg',
backgroundColor: '#282A35',
},
orders: {
foregroundImage: './src/assets/quick-actions/orders-android.svg',
backgroundColor: '#ff0000',
},
lastDay: {
foregroundImage: './src/assets/quick-actions/last-day-android.svg',
backgroundColor: '#282A35',
},
upcomingSales: {
foregroundImage: './src/assets/quick-actions/upcoming-android.svg',
backgroundColor: '#282A35',
},
},
},
],```
I'm trying to add SVG icons for android, but it seems like it isn't supported.
I get this error and couldn't find anything online about it...
Here's how I've set them up in my
app.config.ts