NativeBase
NativeBase copied to clipboard
fontFamily "Courier" is not a system font and has not been loaded through Font.loadAsync. (When using <Code/> component)
Description
happens in IOS simulator
CodeSandbox/Snack link
react-native expo template
Steps to reproduce
- expo init my-app --template @native-base/expo-template
- yarn ios
NativeBase Version
3.3.7 and also latest alpha
Platform
- [ ] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next
Other Platform
No response
Additional Information
fontFamily "Courier" is not a system font and has not been loaded through Font.loadAsync.
-
If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.
-
If this is a custom font, be sure to load it with Font.loadAsync. at node_modules/expo-font/build/Font.js:27:16 in processFontFamily at node_modules/react-native/Libraries/ReactNative/renderApplication.js:54:4 in renderApplication at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:117:25 in runnables.appKey.run at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:4 in runApplication
@calboru Thanks for reporting this! Code component is still a work in progress. We'll try to fix this in the coming release.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
any update on this issue? The issue persist on all native-base templates at this point
Hi @dohomi, Code is an unreleased component.