title: react native custom fonts
body: <p>This question has been already <a href="https://stackoverflow.com/questions/41825276/how-to-add-custom-font-in-react-native-android">here</a> and <a href="https://stackoverflow.com/questions/38875741/how-do-you-use-custom-fonts-with-react-native-android">here</a>, but the answer is not satisfactory there. The fonts are not working on android but on iOS do. Maybe I made some mistake during the linking.</p>
  
  <p><strong>How did I added fonts:</strong></p>
  
  <ol>
  <li>Created folder <code>assets/fonts/</code> inside root folder.</li>
  <li><p>Added </p>
  
  <pre><code>"rnpm": { "assets": ["./assets/fonts"] }
  </code></pre></li>
  <li><p><code>react-native link</code></p></li>
  <li><p>Console output was it successfully added assets to iOS and Android</p></li>
  <li><p>Added fontFamily: 'MyCustomFontFamily' into styles.</p></li>
  <li><p>Run on iOS, everything worked fine.</p></li>
  <li><p>Run on Android, no typeface.</p></li>
  <li><p>Checked the android project directory and the assets folder was present </p></li>
  <li><p>I tried adding <code>(Platform.OS === 'ios') ? 'MyCustomFontFamily' : 'fonts/my_custom_font_family'</code> to go with the file name but this did not work wither. </p></li>
  <li><p>Tried same variation as 9 without path or with extension but no luck</p></li>
  <li><p>Read <a href="https://gist.github.com/hilkeheremans/acb9949a06ced38ba15a2628f849e33a" rel="nofollow noreferrer">here</a> to use weight, tried it, no luck.</p></li>
  </ol>