Closed glewiswp closed 1 year ago
Same issue
Same issue
"dependencies": {
"expo": "^23.0.4",
"react": "16.0.0",
"react-native": "0.50.3",
"react-native-vector-icons": "^4.4.2"
}
Same issue here
Same issue here
"dependencies": {
"expo": "^23.0.4",
"react": "16.0.0",
"react-native": "0.50.3",
"react-native-vector-icons": "^4.5.0"
}
react-native-vector-icons need linked by react-native.
do not use the expo, because expo will be disabled the react-native link. i use the react-native link in expo environment then get some error.
my way is:
1. use react-native init project_name to renew the project.
2. yarn add react-native-elements react-native-vector-icons
3. react-native link react-native-vector-icons
4. add "postinstall": "rm ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json", to package.json scripts part, run yarn install this command will be executed
the step 4 for resolve error: bundling failed: Error: While resolving module react-native-vector-icons/FontAwesome
, the Haste package react-native-vector-icons
was found. However the module FontAwesome
could not be found within the package. Indeed, none of these files exist
Does anybody of you had solved this issue? I'm facing exactly the same issue.
By the way, I started my project by using the create-react-native-app thing
you can use react-navigation,that's a easy way to use tabbar with react-native-vector-icons :sweat_smile:
@horan_geeker That's not a good solution for people that want the real deal TabBarIOS
I am surprised that this is still an undergoing issue that makes TabBarItemIOS
impossible to use. 😞
Could we please have some help on this @oblador? Thank you.
TabBarIOS has been deprecated as it was removed from RN
Installed using:
Using your example for
TabBarIOS.Item
throws "Element type is invalid".Have also attempted to use Icon.TabBarItemIOS:
package.json Dependencies:
Unable to get
Icon.TabBarItemIOS
/Icon.TabBarItem
working.