Node: v12.18.3
npm: 6.14.6
React: 16.11.0
native-base: 2.13.13
expo: 38.0.0
According to: https://oblador.github.io/react-native-vector-icons/
Expecting icons ios-grid and people to be those (Ionicons family)

Getting those instead

import {Icon} from 'native-base'
<Icon name="ios-grid" type="Ionicons" />
<Icon name="people" type="Ionicons" />
https://snack.expo.io/@pixcell/mad-coffee
If you want your issue to be looked at quicker, attach a snack reproducible with your issue. Makes it easier for us!
I faced same problem.
NativeBase Icon uses react-native-vector-icons
Try update the font.
Android
copy all fonts from /yourproject/node_modules/react-native-vector-icons/Fonts and paste to /your-project/android/app/src/main/assets/fonts
IOS
via xcode just drag and drop all font /yourproject/node_modules/react-native-vector-icons/Fonts to "Resources"

Verified @alfianwahid's solution. It worked. The problems were caused by the out of dated font files provided by NativeBase. You can also install my patched version yarn add "git+https://github.com/jjleng/NativeBase.git#v2.13.13" and then npx react-native link.
Thanks heaps for the help !
It is my first project using React-Native and Native-Base. I am really enjoying it so far. However, I am using a build managed by expo.
Where do I need to put my Fonts for this to work ?
It uses a hook to load some resources before the app start
import * as Font from 'expo-font'
import * as SplashScreen from 'expo-splash-screen'
import * as React from 'react'
import Ionicons from '../assets/fonts/Ionicons.ttf'
export default function useCachedResources () {
const [isLoadingComplete, setLoadingComplete] = React.useState(false)
// Load any resources or data that we need prior to rendering the app
React.useEffect(() => {
async function loadResourcesAndDataAsync () {
try {
SplashScreen.preventAutoHideAsync()
// Load fonts
await Font.loadAsync({
Ionicons,
Roboto: require('native-base/Fonts/Roboto.ttf'),
Roboto_medium: require('native-base/Fonts/Roboto_medium.ttf')
})
} catch (e) {
// We might want to provide this error information to an error reporting service
console.warn(e)
} finally {
setLoadingComplete(true)
SplashScreen.hideAsync()
}
}
loadResourcesAndDataAsync()
}, [])
return isLoadingComplete
}
I tried adding the Ionicons bit in there, but it didn't work as expected.
(I copied the content from node_modules/react-native-vector-icons/Fonts into the folder pointed by my import path. (I also tried importing directly from the node_modules folder)
Any help is greatly appreciated
I faced same problem.
NativeBase Icon uses react-native-vector-icons
Try update the font.
- Android
copy all fonts from/yourproject/node_modules/react-native-vector-icons/Fontsand paste to/your-project/android/app/src/main/assets/fonts- IOS
via xcode just drag and drop all font/yourproject/node_modules/react-native-vector-icons/Fontsto "Resources"
I do it but not working, what do I need to do next?
Most helpful comment
I faced same problem.
NativeBase Icon uses react-native-vector-icons
Try update the font.
Android
copy all fonts from
/yourproject/node_modules/react-native-vector-icons/Fontsand paste to/your-project/android/app/src/main/assets/fontsIOS
via xcode just drag and drop all font
/yourproject/node_modules/react-native-vector-icons/Fontsto "Resources"