React Native Tutorial - How to use Custom Fonts

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ค. 2020
  • In this React Native tutorial, we'll be using custom fonts in our project.
    I will be showing you how to use custom fonts in our react native project.
    P L A Y L I S T S
    Vector/Vexel Tutorial - • LINEART | Vector Art /...
    Javascript Tutorials - • Javascript Tutorial: H...
    Web Development - • How to Create a Login ...
    S O C I A L M E D I A
    / theblackmatrixdigital
    DON'T FORGET TO SUBSCRIBE!

ความคิดเห็น • 63

  • @mohammedsithik7682
    @mohammedsithik7682 ปีที่แล้ว +11

    For those running on react-native version >= 0.69.x, Since link is deprecated so react-native link will not work anymore, the command react-native link is replaced by npx react-native-asset.

    • @BukkyOdunsi
      @BukkyOdunsi 9 หลายเดือนก่อน

      God bless you

  • @LeetCodeSimplified
    @LeetCodeSimplified 2 ปีที่แล้ว +1

    Wow, that's a lot easier than I thought. Works great, thx for sharing this!

  • @AlexVlogify
    @AlexVlogify 3 ปีที่แล้ว

    Thank you. Worked great.

  • @brittosmonteiro
    @brittosmonteiro 3 ปีที่แล้ว +5

    This helped me a lot thank you.
    Before it got started, I talked to myself: if it works, I'll subscribe.
    Done, man!

  • @KenanTDM
    @KenanTDM 2 ปีที่แล้ว

    It helped a lot. Thank you so much

  • @adnanmaulana8642
    @adnanmaulana8642 3 ปีที่แล้ว

    love the tutorial !!

  • @TheThinker-ug3wr
    @TheThinker-ug3wr 3 ปีที่แล้ว

    Thanks man Its worked

  • @harisbutt2144
    @harisbutt2144 2 ปีที่แล้ว

    Thankyou for the tutorial

  • @brienaustinclayton
    @brienaustinclayton ปีที่แล้ว

    Hey , thank u man !

  • @justinb2167
    @justinb2167 ปีที่แล้ว

    Thank you for this video

  • @CleytonChagas
    @CleytonChagas 2 ปีที่แล้ว

    Tks from Brazil - São Paulo!

  • @saipraneethchintapatla4767
    @saipraneethchintapatla4767 3 ปีที่แล้ว

    this video helped me a lot....... thanks man

  • @thelmarangel3912
    @thelmarangel3912 3 ปีที่แล้ว +2

    Thanks :)

  • @juan-hernandez1
    @juan-hernandez1 3 ปีที่แล้ว

    at last! Great tutorial...

  • @RudraPatel-ed1bq
    @RudraPatel-ed1bq ปีที่แล้ว

    Thank you soooo much

  • @missaconstant
    @missaconstant 3 ปีที่แล้ว

    Great video bruh !

  • @kaunghtethein3322
    @kaunghtethein3322 3 ปีที่แล้ว

    this is helpful. thanks

  • @satishmaurya2089
    @satishmaurya2089 2 ปีที่แล้ว

    thanks a lot sir,

  • @alendra9533
    @alendra9533 ปีที่แล้ว

    whoah nice!

  • @sangamnayak6915
    @sangamnayak6915 ปีที่แล้ว

    are bhai bahi bahi bahi.... work kr rha hai , tx

  • @tsogangmosweswe6545
    @tsogangmosweswe6545 3 ปีที่แล้ว

    thanks a lot

  • @sakibdev
    @sakibdev 2 ปีที่แล้ว

    Thank You

  • @mainuddin7493
    @mainuddin7493 3 ปีที่แล้ว

    thanks :)

  • @ahmedalsawy7756
    @ahmedalsawy7756 3 ปีที่แล้ว

    Great Video

  • @allamoisieieva1532
    @allamoisieieva1532 2 ปีที่แล้ว

    thank you very much ! do you have same tutorial for ios?

  • @samuelbittencourt2003
    @samuelbittencourt2003 3 ปีที่แล้ว +2

    doesnt work, and no error,
    here i dont know why

  • @deathclock391
    @deathclock391 ปีที่แล้ว

    do I need to use 'npx react-native run android' if i am using expo app

  • @karthithedeveloper
    @karthithedeveloper 5 หลายเดือนก่อน +1

    npx react-native link
    error: unknown command 'link'

  • @user-qd4yg6vj9k
    @user-qd4yg6vj9k 3 ปีที่แล้ว +5

    iOS: error, unrecognized family

  • @oyewolesheddrack3642
    @oyewolesheddrack3642 ปีที่แล้ว

    will this work with expo application?

  • @saurabrakshit405
    @saurabrakshit405 2 ปีที่แล้ว

    From where you got the fonts which you have pasted in the fonts folder , Incomplete vdo bro

  • @faizsami5047
    @faizsami5047 ปีที่แล้ว

    how to change default font for whole project??

  • @tiagosantanadasilva6420
    @tiagosantanadasilva6420 3 ปีที่แล้ว +6

    Hey! Great tutorial! However, I followed every single step (on expo) as you did and I still got the following error: "fontFamily:"FontType" is not a system font and has not been loaded through Font.loadAsync. Do you have any idea how to solve this?

    • @roshanbhandari1723
      @roshanbhandari1723 3 ปีที่แล้ว

      same problem !!

    • @htolad
      @htolad 3 ปีที่แล้ว +3

      This method does not work for Expo

    • @ayedabboushi7221
      @ayedabboushi7221 3 ปีที่แล้ว

      This method for IOS & android not for expo

    • @raajnadar
      @raajnadar 2 ปีที่แล้ว

      use expo fonts

  • @josuapurba5751
    @josuapurba5751 2 ปีที่แล้ว

    please help me I have an error when running npx react-native run-android like the video above if anyone knows how to solve it please let me know🙏
    `error Android project not found. Are you sure this is a React Native project? If your Android files are located in a non-standard location (e.g. not inside 'android' folder), consider setting `project.android.sourceDir` option to point to a new location.
    info Run CLI with --verbose flag for more details.

  • @bramhamreddy4743
    @bramhamreddy4743 2 ปีที่แล้ว +1

    Unrecognized command "link". when i run given command facing error

    • @justinb2167
      @justinb2167 ปีที่แล้ว

      I faced the same problem, apparently since React 0.60 link is no longer needed. I had to run npx react-native-asset command which installed the latest react-native-assets package then it worked. Hopefully this helps

  • @matheusmendes543
    @matheusmendes543 3 ปีที่แล้ว

    Todo o processo da certo, mais na tela a fonte nao carrega kkk

  • @mluthfiansyah5389
    @mluthfiansyah5389 2 ปีที่แล้ว

    i dont get an error but somehow it didnt worked out..

  • @sunilkumarmaurya4562
    @sunilkumarmaurya4562 3 ปีที่แล้ว

    where is ios process??

  • @vinicius1000xzx
    @vinicius1000xzx 2 ปีที่แล้ว

    npx react-native link
    react-native\cli.js
    error The "path" argument must be of type string. Received undefined.
    TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    What can it be?

    • @samsonakumani1291
      @samsonakumani1291 ปีที่แล้ว +1

      I think react-native link is no more supported
      So You have to run npx react-native-assets instead to link all the assets

    • @samsonakumani1291
      @samsonakumani1291 ปีที่แล้ว

      npx react-native-asset without the s

  • @nikhilpatilnikhilpatil
    @nikhilpatilnikhilpatil 3 ปีที่แล้ว

    What about applying weight to font?

    • @ManilMopas
      @ManilMopas 2 ปีที่แล้ว

      you can apply by picking the fonts with the right weight straight from google.

  • @StarBattle08
    @StarBattle08 3 ปีที่แล้ว +1

    does this work with expo?

  • @jonathanaplacador9803
    @jonathanaplacador9803 ปีที่แล้ว

    doesn't work for me

  • @JosephAli93
    @JosephAli93 2 ปีที่แล้ว

    after running : npx react-native link
    i got :
    info Linking assets to ios project
    info Linking assets to android project
    success Assets have been successfully linked to your project
    however, i can not use the font family. by the font family wasn’t added to : app/src/main/asset/fonts!!!!

  • @ahmedalsawy7756
    @ahmedalsawy7756 3 ปีที่แล้ว

    Thanks alot

  • @anastasiia_idle
    @anastasiia_idle 2 ปีที่แล้ว

    iOS: error, unrecognized family