1. The Ultimate Guide to React Native App Icons & Splash Screens

Поділитися
Вставка
  • Опубліковано 25 лип 2024
  • #reactnative #reactnativetutorial #applicationicon #splashscreen #codewithabdul
    GitHub
    github.com/abdulahad-07/react...
    00:00 Introduction
    00:21 Create a new project
    00:48 Generate application icon bundle
    01:42 Add application icon in Android
    03:20 Add application icon in iOS
    04:53 Generate splash screen assets
    05:45 Add splash screen in Android
    09:55 Add splash screen in iOS
    12:08 Change application name in Android
    12:39 Change application name in iOS
    In this video, we will learn how to customize the application icon and splash screen in a React Native app. The application icon and splash screen are the first things that users see when they launch your app, so it's important to make a good first impression. We will start by creating a new React Native app and then we will replace the default icon and splash screen with our own custom designs. We will use the React Native Splash Screen library to customize the splash screen. We will also cover how to generate the required image assets for both the icon and splash screen. By the end of this video, you will have a solid understanding of how to customize the application icon and splash screen in your React Native app. So, join me and let's get started!
    Subscribe to this UA-cam channel for more interesting content
    / @codewithabdul
    Buy me a coffee
    www.buymeacoffee.com/codewith...

КОМЕНТАРІ • 169

  • @amanuelworku9170
    @amanuelworku9170 4 місяці тому +5

    Man where have you been my whole month, thank you so much saved much of my time.

    • @codewithabdul
      @codewithabdul  4 місяці тому +2

      I’m glad it helped. This means a lot to me. Thanks 🙏🏻

  • @zehchapazik
    @zehchapazik 3 місяці тому +2

    this is indeed the ultimate tutorial on this subject! congrats man, keep up the great work!!

  • @antonds
    @antonds 2 місяці тому +1

    Awesome tutorial! Thank you, Abdul!

  • @niveditaghosh7899
    @niveditaghosh7899 Рік тому +1

    Thanks dude. It was very Helpful and understandable

  • @uncafedoble
    @uncafedoble Рік тому +2

    This is the fist tutorial that I do in the first try. TYSM

  • @NicholasEduardo
    @NicholasEduardo 11 місяців тому

    Thanks so much, your tutorial was important for me 🙏

  • @user-he6xf1zr5e
    @user-he6xf1zr5e 10 місяців тому

    Thank you so much for making this video. 🙏

  • @alimohammed887
    @alimohammed887 10 місяців тому +1

    A hidden gem on UA-cam, keep it up!!

  • @PraveenKumar-rk1tj
    @PraveenKumar-rk1tj 4 місяці тому +1

    The best explanation ever on youtube,Thank You

  • @mpowereer6992
    @mpowereer6992 6 місяців тому

    simple and short tutorial, definietly deserve like

  • @jacsdev
    @jacsdev 9 місяців тому

    cool!!! Nice tutorial bro!! Congrats

    • @codewithabdul
      @codewithabdul  9 місяців тому

      Thanks. I appreciate your feedback.

  • @Gaynatullin
    @Gaynatullin 10 місяців тому +1

    Thanks!

  • @user-jf2wf7gj2p
    @user-jf2wf7gj2p 6 місяців тому +1

    Awesome

  • @rajthapa9006
    @rajthapa9006 3 місяці тому

    you're a life saver man

    • @codewithabdul
      @codewithabdul  3 місяці тому

      I’m glad it was helpful. 🙏🏻

  • @bibekgurung5491
    @bibekgurung5491 2 місяці тому

    ./gradlew clean command to clean bulid folder on android seems to get rid of the splashscreen we put in using this method.

  • @felipeoliveira9512
    @felipeoliveira9512 5 місяців тому +1

    Thank you friend, you are one friend (:

  • @tabishabbasi821
    @tabishabbasi821 Рік тому +1

    awesome

  • @user-fs9il3mw6j
    @user-fs9il3mw6j 3 дні тому

    Can you make the Stausbar translucent in the splash screen and make it stretch the full window?

  • @ozhandrum
    @ozhandrum 4 місяці тому

    Showing how to make these (splash screen) without using any library, and other things... Dude you are awesome

    • @codewithabdul
      @codewithabdul  3 місяці тому

      I really appreciate your support and encouragement!

  • @user-in8wx9qj4k
    @user-in8wx9qj4k 8 місяців тому

    thanks bro

  • @ra-dro
    @ra-dro 11 місяців тому

    Great video!
    By the way, any thoughts on react-native-bootsplash library as a replacement the one used in video? (as it has not been updated more then 2 years)

    • @codewithabdul
      @codewithabdul  11 місяців тому

      Probably a good replacement. But as I personally never used it, so cannot comment on it yet.

    • @user-cg1pq2kh6t
      @user-cg1pq2kh6t 9 місяців тому

      This guy wants 25$ for a library with a full functionality. Maybe he is crazy, I deleted this shit instantly

    • @codewithabdul
      @codewithabdul  3 місяці тому

      It seems a better replacement. Kindly check my latest video on bootsplash using RN 0.73. I hope this will help. :)

  • @daoudabeye9510
    @daoudabeye9510 5 місяців тому

    Hi
    in the Styles.xml you've replace android:editTextBackground, from my side it is causing crash when using PhoneInput View, is someone face same issue ?

    • @milanvala2363
      @milanvala2363 25 днів тому

      yes, do not make that change it will cause the issue. android:editTextBackground attribute in the theme is meant to define the background drawable for EditText fields

  • @siwaraouadi5244
    @siwaraouadi5244 7 днів тому

    my app file is tsx and i get a rendre error saying Cannot read proprity hide of null

  • @simple_user000
    @simple_user000 4 місяці тому +2

    Amazing tutorial! Please upload a new one for RN 0.73, as java files have been replaced with kotlin

    • @codewithabdul
      @codewithabdul  4 місяці тому +1

      I do have plans to update react native to 0.73 soon. Thanks for the suggestion and stay tuned🙏🏻

  • @muzammil8498
    @muzammil8498 9 місяців тому

    nice video😍

  • @talhaabbas1816
    @talhaabbas1816 4 місяці тому +1

    it was way more than useful

    • @codewithabdul
      @codewithabdul  3 місяці тому

      So glad it exceeded your expectations! I aim to over-deliver ;)

    • @talhaabbas1816
      @talhaabbas1816 2 місяці тому +1

      @@codewithabdul hi brother, Right now I am finding an issue that in IOS when we start the application there is a white or black screen flash after splash screen got hide

    • @codewithabdul
      @codewithabdul  2 місяці тому

      Kindly lemme know if this was black screen or white screen? Also is it appearing before splash screen or after splash screen? Thanks

    • @talhaabbas1816
      @talhaabbas1816 2 місяці тому

      ​@@codewithabdul it's a white flash, first it was white but after I tried some of the tricks it changed to black, and it is after the splash screen, infact the splash screen only appear for some milli seconds and after that that black screen appears and then the application it self

  • @user-rg7ke4wv8b
    @user-rg7ke4wv8b Рік тому +1

    On iOS how do you prevent the screen from turning white when it says ex: "Bundling 25%" at the top? My app takes a little longer to do that so it is a white screen for a while. Is this just something that will happen during development and not show a white screen when in production?

    • @codewithabdul
      @codewithabdul  Рік тому

      Yes, this is the expected behaviour. Bundling part will go away in production, as we'll bundle the app and then publish. Published version won't display this white screen at all.

    • @user-rg7ke4wv8b
      @user-rg7ke4wv8b Рік тому +1

      @@codewithabdul Awesome, thank you!

  • @lrcmestre
    @lrcmestre 10 місяців тому

    In the most current versions there are some differences in the default code, I am getting an error when running the Android version where a message is displayed in the emulator saying that the native splashscreen is trying to override the installed one. Do you have any suggestions to remove this conflict? Thanks.

    • @BrainTeaser2468
      @BrainTeaser2468 7 місяців тому

      Same Issue

    • @codewithabdul
      @codewithabdul  3 місяці тому

      Thanks for following the tutorial. Can you please let me know which react-native version you are using?

  • @sherozeali2760
    @sherozeali2760 11 місяців тому

    Thanks for the tutorial but There's a padding around mob icons white spaces around the icon.
    how to remove it ?

    • @codewithabdul
      @codewithabdul  11 місяців тому

      Style property can be used to manage padding and margin for icons.

  • @timpenguin16
    @timpenguin16 10 місяців тому +1

    Sir i got this error while app is build, can you help me?
    Execution failed for task ':react-native-splash-screen:writeDebugAarMetadata'.
    > Failed to create parent directory '/Users/khoirulafwan/Documents/CoffeApp/node_modules/react-native-splash-screen/android/build' when creating directory '/Users/khoirulafwan/Documents/CoffeApp/node_modules/react-native-splash-screen/android/build/intermediates/aar_metadata/debug'

    • @codewithabdul
      @codewithabdul  10 місяців тому

      There can be one of the 2 solutions
      1. Delete the build folder in the android/app directory and try again
      If this solution doesn't work then
      2. The .gradle doesn't have the necessary permission. To do so hit this command
      chown -R user:user /path/to/.gradle

  • @mohammadfaisal3649
    @mohammadfaisal3649 2 місяці тому +1

    sir, I have applied the same procedure. but the logo is showing a bit blurred. can I do something about it?

    • @codewithabdul
      @codewithabdul  2 місяці тому

      Yes, if the logo is blurry, make sure you provide high quality image with described ratio. Also make sure you do keep very less blank space around actual logo.

  • @carloscazelattojr
    @carloscazelattojr 4 місяці тому

    When starting the project, it is creating the files with kt (kotlin) extension instead of java. Do you know why it's not Java?

    • @codewithabdul
      @codewithabdul  4 місяці тому

      Latest react native supports kotlin instead of java

  • @omarshabaan8569
    @omarshabaan8569 6 місяців тому

    great tutorial. how to localize the splash screen ?

    • @codewithabdul
      @codewithabdul  6 місяців тому +1

      for android: you just need to add new drawable folder for each language under android/app/src/main/res and put the localised image with same name under the folders
      so let's say we need to add Spanish and French localisation with default English one. We need to create 2 additional folders as below
      res/drawable-es
      res/drawable-fr
      for iOS: Open Xcode, click on 'tutorial' in left side panel. Go to 'Images'
      here we can see the app image and splash screen image named as 'LaunchImage'
      In the right panel you will see 'Localization'. You just need to mark another language and add new LaunchImage

  • @yusufpolat9290
    @yusufpolat9290 7 місяців тому

    Why do we need a package dependency from Android side when editing SplashScreen on xcode on iOS side. Is there no way to do it without using packages or is it too difficult?
    By the way, your content is very useful. Thank you...

    • @codewithabdul
      @codewithabdul  7 місяців тому +1

      Thanks for watching my content and I am glad it helped. We need the package to make our splash screen a real splash screen. If we will go only with the android and xcode customisation, it will be treated as a new screen just after default splash. So first the default splash screen will be seen then our customised one. To get rid of this default behaviour, we should use the package dependancy.

    • @yusufpolat9290
      @yusufpolat9290 6 місяців тому

      I got it, thank you.🙂@@codewithabdul

  • @KhairunnisaHurunIin
    @KhairunnisaHurunIin 4 місяці тому

    HI! may I ask, how can I open the file with xcode? I tried to open it by typing open ios/.xcworkspace/, but it said the file didnt exist. Do I have to create the file with xcworkspace format? I thought it was just a shortcut to open it witch xcode

    • @codewithabdul
      @codewithabdul  4 місяці тому

      Hello, sure I’m happy to help
      I can see a problem in the command you entered. Instead of you should enter to make it work

    • @KhairunnisaHurunIin
      @KhairunnisaHurunIin 4 місяці тому

      Okay, thanks for the answer!@@codewithabdul

  • @turbbii290
    @turbbii290 10 місяців тому

    Hi, this is the video that I exactly need but, I have a big problem, in my project, I can not see the android and ios folders, anyone knows why?

    • @codewithabdul
      @codewithabdul  10 місяців тому

      Are you using expo version? If yes, then there won't be any android and ios folders. It is available for cli version. You can move to cli from expo using eject in expo.

    • @turbbii290
      @turbbii290 10 місяців тому +1

      Oh, I didn't know that, thanks a lot! I'll have a look.@@codewithabdul

  • @richardkirigaya8254
    @richardkirigaya8254 Рік тому +2

    Getting issue: class not found RelativeLayout, after following your instructions on adding a splash screen on android. Any clues on fixing this ?

    • @codewithabdul
      @codewithabdul  Рік тому +1

      Hello @richardkirigaya8254, this seems like a device specific issue. I've found a solution online. Kindly check this out.
      stackoverflow.com/a/51213911

    • @richardkirigaya8254
      @richardkirigaya8254 Рік тому +2

      @@codewithabdul Working, appreciated

    • @jesseogola4590
      @jesseogola4590 9 місяців тому

      @@codewithabdul Life saver!!

  • @MuhammadAhmad-fb2ji
    @MuhammadAhmad-fb2ji 11 місяців тому

    I am receiving an error "TypeError: Cannot read property 'hide' of null, js engine: hermes" at "SplashScreen.hide();" and splash screen isn't working

    • @codewithabdul
      @codewithabdul  11 місяців тому

      Kindly make sure you install supported version of splash screen library. Also try to delete node_modules and reinstall again.

  • @user-tc1go4vm8k
    @user-tc1go4vm8k 10 місяців тому +2

    I encountered a problem, after installing and configuring the splash-screen for Android, everything works, but when I add the TextInput tag to the application, an error occurs:
    Drawable com.splash_screen:layout/launch_screen with resourse ID #0x7f0b002f
    File res/layout/launch_screen.xml from drawable resourse ID #0x7f0b002f
    Class not found RelativeLayout
    Didn`t find class "RelativeLayout" on path: DexPathList[[zip file "data/app/"

    • @codewithabdul
      @codewithabdul  10 місяців тому +1

      Hello, this seems like a device specific issue. I've found a solution online. Kindly check this out.
      stackoverflow.com/a/51213911

    • @user-tc1go4vm8k
      @user-tc1go4vm8k 10 місяців тому

      @@codewithabdul please tell me where to insert this line
      @drawable/splash_screen

    • @shubham_v
      @shubham_v 8 місяців тому

      I got same error bro
      Can you please tell me how you fixed that?

    • @faijanmemon
      @faijanmemon 7 місяців тому

      @@shubham_v same bro , are you able to figure it out ?

    • @faijanmemon
      @faijanmemon 7 місяців тому

      were you able to solve that issue ?

  • @AbdulMatin_Kadri
    @AbdulMatin_Kadri 10 місяців тому +1

    For andorid it's showing 2 launch_screen

    • @codewithabdul
      @codewithabdul  10 місяців тому

      Remove one and try building it again

  • @lelouchbritannia9045
    @lelouchbritannia9045 Рік тому

    In the beginning of the video 0:11. When launching the app app icon is showing up as splash screen, how to git rid of this?

    • @codewithabdul
      @codewithabdul  Рік тому +1

      Thanks for pointing out the issue. We need to add below line in styles.xml file to get rid of this issue.
      true
      I've updated the source code on GitHub. Kindly have a look.

    • @lelouchbritannia9045
      @lelouchbritannia9045 Рік тому

      @@codewithabdul no this did not fix the issue, There is any other way to fix this?

    • @codewithabdul
      @codewithabdul  Рік тому

      You'll be able to see the fix in the next video of this tutorial. Make sure to delete build folder inside the android/app before running the application. Also you need to restart the app bundler.

    • @alirazalalani8323
      @alirazalalani8323 Рік тому

      same issue here

    • @lelouchbritannia9045
      @lelouchbritannia9045 Рік тому

      @@alirazalalani8323 there is no way to disable it on android 12+ , there are ways to make it transparent, but it will have other ux issues. So best thing is to edit the default splash screen to your liking( have to follow the given guidelines for this).

  • @sayantabhattacharjee9808
    @sayantabhattacharjee9808 Місяць тому

    how to add only 1 splash screen, here there are 2 splash screen

  • @Shubuu7
    @Shubuu7 Рік тому +1

    app icon shadow coming in Android how to fix it

    • @codewithabdul
      @codewithabdul  Рік тому

      Can you please explain where the shadow is appearing?

  • @somecreativeperson6719
    @somecreativeperson6719 9 місяців тому

    what is the emulator you are using?

    • @codewithabdul
      @codewithabdul  8 місяців тому

      I am using android 13 and iOS 16 emulators

  • @user-qq4mg8re2p
    @user-qq4mg8re2p 5 місяців тому

    could you update your tutorial to React Native 0.73?

    • @codewithabdul
      @codewithabdul  5 місяців тому

      Noted. Thanks for the interest and suggestion. I’ll surely look into it.

  • @mohammadyeasin6569
    @mohammadyeasin6569 9 місяців тому

    i am facing an issue RelativeLayout class is not found...i have follow al your instruction....but cant understand why i am getting this issue.. please help.

    • @codewithabdul
      @codewithabdul  8 місяців тому +1

      Comment or remove @layout/launch_screen in android/app/src/main/res/values/styles.xml

    • @dewaldesterhuysen712
      @dewaldesterhuysen712 8 місяців тому

      @@codewithabdul Thank you. this worked for me

  • @nifemiojinni4631
    @nifemiojinni4631 Рік тому +1

    Ape tool is not downloading my files and it is taking long to process

    • @codewithabdul
      @codewithabdul  Рік тому

      If Ape Tool is not working for you then you can try another alternative www.appicon.co

    • @nifemiojinni4631
      @nifemiojinni4631 Рік тому

      ​@@codewithabdul it later worked, thanks...do you know what bug causes the app not to load, my app keeps quitting after launching....what can i do?

    • @codewithabdul
      @codewithabdul  Рік тому

      @nifemiojinni4631 you need to check the logs generated on the node bundler to diagnose the issue.

  • @SoapCS2
    @SoapCS2 11 місяців тому +1

    That terminal light theme is sexy

  • @akashkdas8535
    @akashkdas8535 4 місяці тому

    where can i get that bundle for splashscreen
    android

    • @codewithabdul
      @codewithabdul  3 місяці тому

      Kindly check the video at 00:48

    • @nikitaarora4631
      @nikitaarora4631 2 місяці тому

      @@codewithabdul this website is not working . please let us know any other website for making folder for splashscreen

  • @iffahfarhana5034
    @iffahfarhana5034 6 місяців тому

    why does mine does not work? my apps crashed after i followed yours. can you reply me ASAP?

  • @malikhandev
    @malikhandev 4 місяці тому

    This is not working in 0.73+ version, specially after kotlin update

    • @codewithabdul
      @codewithabdul  4 місяці тому

      I’m planning to upgrade RN version for this project. Stay tuned.

  • @alandinh
    @alandinh 6 місяців тому

    I got an error: TypeError: Cannot read property 'hide' of null. How can I fix it ?

    • @codewithabdul
      @codewithabdul  6 місяців тому +1

      @tuananhdinh527 Thanks for following through the video. This issue occurs if the library is not set properly. Kindly retry the instructions step by step. Let me know if you still face the same issue.

    • @alandinh
      @alandinh 5 місяців тому

      @@codewithabdul I resolved the issue. thank you!

    • @codewithabdul
      @codewithabdul  5 місяців тому

      Good to hear that. Thanks 🙏🏻

  • @emmanuelbamidele5064
    @emmanuelbamidele5064 6 місяців тому

    how did you get the ios simulator

    • @codewithabdul
      @codewithabdul  6 місяців тому

      For iOS simulator you should run ‘npm run ios’ on Mac.

    • @emmanuelbamidele5064
      @emmanuelbamidele5064 6 місяців тому

      @codewithabdul okay does this mean I cant get it on windows ...

    • @codewithabdul
      @codewithabdul  6 місяців тому

      @emmanuelbamidele5064 yes, you cannot get it on windows. There is a workaround though, you can install macOS on windows using VMware.

    • @codewithabdul
      @codewithabdul  6 місяців тому

      @emmanuelbamidele5064 through VM ware, yes.

  • @syedarsalan7000
    @syedarsalan7000 4 місяці тому

    App us crashing after displaying a splash screen, can you fix the issue for me?😢

  • @vkvaraliya7504
    @vkvaraliya7504 5 місяців тому

    Crash hoi raha he Release apk bro

    • @codewithabdul
      @codewithabdul  5 місяців тому

      @vkvaraliya7504 error kya de rha hai bro?

  • @maksymsladik7073
    @maksymsladik7073 5 місяців тому

    please, react native 0.73 with react native bootsplash

    • @codewithabdul
      @codewithabdul  3 місяці тому

      Request fulfilled. Kindly check my latest video on bootsplash using RN 0.73. Thanks for the request. I hope this will help. :)

  • @dastanikus
    @dastanikus Рік тому +1

    Hmm. So much pngs. Use just one svg logo file. Or create tsx file and put svg code there. And do it for any icon in your app.

    • @codewithabdul
      @codewithabdul  Рік тому

      An interesting and useful suggestion indeed. Thanks.

    • @ra-dro
      @ra-dro 11 місяців тому +1

      I'm not sure if this is approach for native layer. SVG does not supported on iOS lower 13. And as per my understanding both iOS and Android specifically have defined approach for for adding images for splash.

  • @creativestarjsp
    @creativestarjsp 5 місяців тому +1

    React Native 0.73 Version Please 🙏🤝

  • @muhammetaydinn
    @muhammetaydinn 10 місяців тому

    dont touch styles.xml

    • @codewithabdul
      @codewithabdul  10 місяців тому

      Any specific reason for this suggestion?

  • @milanvala2363
    @milanvala2363 25 днів тому

    do not make the change in styles.xml, it will cause the issue.

  • @hussambinnoor9510
    @hussambinnoor9510 10 місяців тому

    not working

    • @codewithabdul
      @codewithabdul  10 місяців тому

      Can you please pinpoint what issue are you facing?

    • @hussambinnoor9510
      @hussambinnoor9510 10 місяців тому

      @@codewithabdul its not working nothing is happening i folowed all your instructions

    • @techieoriname7296
      @techieoriname7296 10 місяців тому +1

      @@hussambinnoor9510 use this instead.
      true

  • @Irfanlesnar
    @Irfanlesnar 3 місяці тому

    Wrong development!

    • @codewithabdul
      @codewithabdul  3 місяці тому

      Hey @Irfanlesnar, thanks for watching. Constructive criticisms are always welcome. Kindly lemme know how can we improve?

    • @Irfanlesnar
      @Irfanlesnar 3 місяці тому

      @@codewithabdulyou need to disable default splash screen

    • @codewithabdul
      @codewithabdul  3 місяці тому

      Sure thanks, I’ll look into it.

  • @viomeshowers
    @viomeshowers 6 місяців тому

    @8:08 @drawable/screen

    • @codewithabdul
      @codewithabdul  3 місяці тому

      Thanks a lot for pointing this out. I will make changes in the next video of this series.

  • @TienNguyen-un7lo
    @TienNguyen-un7lo 11 місяців тому

    awesome