Comments (7)
If this issue gets confirmed. I can submit the fix and send the PR.
from react-native-fontawesome.
If this issue gets confirmed. I can submit the fix and send the PR.
Hi @manishbisht ! Try to use this font files there is in the new sample/
project that I made. This files match the font family names. I changed the downlod url in the documentation, but this was not merged yet as you can see at this PR: #64
So, would be nice if you open a new PR to change the font families, update this font files too in the sample/
project and make sure that everything is working with the new font families and files.
UPDATE: Fix font files url
from react-native-fontawesome.
Changing the fontFamily like so is an easy workaround:
import FontAwesome, { SolidIcons } from 'react-native-fontawesome'
SolidIcons._fontFamily = 'FontAwesome5Free-Solid'
from react-native-fontawesome.
Changing the fontFamily like so is an easy workaround:
import FontAwesome, { SolidIcons } from 'react-native-fontawesome' SolidIcons._fontFamily = 'FontAwesome5Free-Solid'
Did you try to use this font file? The files are from the sample project and the sample project was tested in both, android and ios, and it is all working.
from react-native-fontawesome.
Changing the fontFamily like so is an easy workaround:
import FontAwesome, { SolidIcons } from 'react-native-fontawesome' SolidIcons._fontFamily = 'FontAwesome5Free-Solid'
Did you try to use this font file? The files are from the sample project and the sample project was tested in both, android and ios, and it is all working.
No, I had followed the link to the font files in the (outdated?) README on npmjs.com (which point to fontawesome.com).
from react-native-fontawesome.
Changing the fontFamily like so is an easy workaround:
import FontAwesome, { SolidIcons } from 'react-native-fontawesome' SolidIcons._fontFamily = 'FontAwesome5Free-Solid'
Did you try to use this font file? The files are from the sample project and the sample project was tested in both, android and ios, and it is all working.
No, I had followed the link to the font files in the (outdated?) README on npmjs.com (which point to fontawesome.com).
Yeah, the npm README is outdated, unfortunately. I'll open an Issue to update that asap. Try to use the font files from the link that I told you, I think that it will work.
from react-native-fontawesome.
The suggested fix will only work for the free version of the font, though. If using Pro - like I was trying to -, one will likely have to come up with a different workaround. :/
from react-native-fontawesome.
Related Issues (20)
- IconTypes aren't actually available HOT 3
- Move NPM package from my person npm account to Entria Org
- Missing index.d.ts in npm repo HOT 1
- iOS Font names are incorrect in 6.0.0 package HOT 2
- Please release a new version HOT 1
- Upgraded to 6.0.1 and icons turned into question marks HOT 16
- 6.0.1 Icons with matching names do not show regular font HOT 17
- Icons not visible in build android and iphone HOT 7
- Not working on Android HOT 7
- Library searching for fonts with underscores in name, rather than default dashes. HOT 7
- Pro rather than free? HOT 6
- Fonts not working, showing box with cross or Chinese characters HOT 7
- Can't resolve symbol `IconTypes` HOT 2
- New version of NPM Package HOT 6
- Update RN Version in Sample Project HOT 2
- Add Support for Duotone HOT 1
- Display Question marks in Ios 14 HOT 5
- Wrong TS types.
- Why does /rturk/react-native-fontawesome redirect here and version 6.0.0 vs 7.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-fontawesome.