Reputation: 8982
I am trying to load custom fonts in my React Native App. However, I am using version 0.69 and I don't know how to add them anymore, because:
- link and unlink commands have been removed in the favour of autolinking
- Removed assets and hooks from react-native.config.js – you'll need to remove these properties from your config
So how can this now be done in Android and iOS now?
Upvotes: 0
Views: 1072
Reputation: 2106
You can use react-native-asset for 0.69
using these command:
npx react-native-asset
Upvotes: 3