Closed qingwenje2008 closed 6 years ago
Hi, please read the README section on manual integration which is what you need for your custom font!
@oblador for 15 days looking for the solution to the problem and always sent the manual and everything said, and recompiled and created a new project, and I could not solve that problem, until I solved the problem I read that the cache should be removed with the following command
rm -rf ios/build/ModuleCache/*
it is worthwhile that in the manual that line of code is put as a recommendation
I hope I help you @qingwenje2008 Greetings, and excuse my English :)
definitely something to add around Option: With rnpm in the docs,
I did what @evilexus suggested and rebundled my app, worked like a charm,
my steps:
react-native init Test && cd Test
yarn add react-native-vector-icons
react-native link react-native-vector-icons
rm -rf ios/build/ModuleCache/*
react-native run-ios
@evilexus Good idea, I added it to the troubleshooting section. I'd happily accept a PR with further improvements though 👍
I have sovled this problem ,It's because I didn't configure it well,I haven't seen my github for a long time , and I've forgotten which one is configured to sovle it . but thank you all the same
hi, how you get the number of glyphmaps json ? like 59648
My step:
1, stick the Icomoon.ttf file to the “ node_modules/react-native-vector-icons/Fonts” directory
2, create Icomoon.js under ”node_modules/react-native-vector-icons“, the contents are as follows:
3.The contents of the new Icomoon.json under the “ node_modules/react-native-vector-icons/glyphmaps” directory are as follows:
4, in the XCode project root, pull “node_modules/react-native-vector-icons/Fonts” in, and then execute ‘react-native link’
I want to know why it was wrong and how I should debug it. Do anyone know, help me!