facebook / metro

🚇 The JavaScript bundler for React Native
https://metrobundler.dev
MIT License
5.25k stars 626 forks source link

Android font not shown even after linking #1145

Closed Soulinbyte closed 1 year ago

Soulinbyte commented 1 year ago

Hey guys , i have a issue with react native version 0.72.7 ; My fonts are showing correctly on ios but i don't get same result in android ! first i make a react-native.config.js file and put : module.exports = { project: { ios: {}, android: {}, }, assets: ['./fonts'], }; and put my ttf font in the /fonts directory then i use npx react-native-asset command to link it to my project . it works successfully in IOS but i don't get any result in android ! what should i do?