title: console.error: "fontFamily "Roboto_medium" is not a system font and has not been loaded through Font.loadAsync
body: <p>When using import Native Base (as it comes) I have encountered trouble because of a Font error shown in screen. If you click dismiss it will disappear but the user can't be seeing that every time a Text gets loaded. ¿Is there a correct way to solve the font problem?</p>
  
  <p>This <a href="https://docs.nativebase.io/docs/GetStarted.html" rel="nofollow noreferrer">official</a> documentation says to do this:</p>
  
  <pre><code>// At the top of your file
  import { Font } from 'expo';
  import { Ionicons } from '@expo/vector-icons';
  
  // Later on in your component
  async componentDidMount() {
    await Font.loadAsync({
      'Roboto': require('native-base/Fonts/Roboto.ttf'),
      'Roboto_medium': require('native-base/Fonts/Roboto_medium.ttf'),
      ...Ionicons.font,
    });
  }
  </code></pre>
  
  <p>but it didn't work. This is my code:</p>
  
  <pre><code>import React, { Component } from 'react';
  import { View, } from "react-native";
  import { Button, Text } from 'native-base';
  
  export default class MyComponent extends Component {
  
    render() {
  
          return (
                   &lt;View&gt;
                       &lt;Button&gt;
                         &lt;Text&gt;Click me!&lt;/Text&gt;
                       &lt;/Button&gt;
                    &lt;/View&gt;
                  )
     }
  }
  </code></pre>
  
  <p>I expect the code to run smoothly but every time it loads the same error:</p>
  
  <pre><code>console.error: "fontFamily "Roboto_medium" 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."
  __expoConsoleLog
      AppEntry.bundle?platform=android&amp;dev=true&amp;minify=false&amp;hot=false:95014:31
  ...................
  ...................
  ...................
  </code></pre>