NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

fontFamily "Courier" is not a system font and has not been loaded through Font.loadAsync. (When using <Code/> component)

Open calboru opened this issue 3 years ago • 4 comments
trafficstars

Description

happens in IOS simulator

CodeSandbox/Snack link

react-native expo template

Steps to reproduce

  1. expo init my-app --template @native-base/expo-template
  2. 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 avatar Mar 26 '22 19:03 calboru

@calboru Thanks for reporting this! Code component is still a work in progress. We'll try to fix this in the coming release.

surajahmed avatar Apr 14 '22 14:04 surajahmed

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.

stale[bot] avatar Jun 18 '22 18:06 stale[bot]

any update on this issue? The issue persist on all native-base templates at this point

dohomi avatar Aug 14 '22 07:08 dohomi

Hi @dohomi, Code is an unreleased component.

Viraj-10 avatar Sep 19 '22 16:09 Viraj-10