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

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 189

  • @amanuelworku9170
    @amanuelworku9170 8 месяцев назад +7

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

    • @codewithabdul
      @codewithabdul  8 месяцев назад +3

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

    • @Qwertythoughts123
      @Qwertythoughts123 2 месяца назад

      @@codewithabdul You are awesome man

  • @vborisov
    @vborisov 2 месяца назад +5

    There are some differences for new versions of react-native on android that made me stuck on splash screen section, hope it helps someone:
    1) Remove completely line with styles.xml file in android/app/src/main/res/values folder, i had an error "Didn't find class "RelativeLayout" otherwise. This solution was recommended on one of github issues of this lib
    2) Don't change MainApplication.java class in newer version of android, github doc is outdated, change only MainActivity.java class as in video

    • @debabratsamal8443
      @debabratsamal8443 Месяц назад

      I have created splash screen without this package. so in styles.xml I have mentioned @layout/launch_screen But in launch_screen.xml I get the error RelativeLayout class not found. I could have directly given the image in styles.xml like this: @drawable/screen, but this is stretching my splash image. Can you help what to do?

    • @thepomelocrazy4375
      @thepomelocrazy4375 Месяц назад

      1)Thanks for the tip to remove @layout/launch_screen.
      2)In my case instead of having MainActivity.java I had MainActivity.kt and I put this code:
      override fun onCreate(savedInstanceState: Bundle?) {
      SplashScreen.show(this) // Show the splash screen when creating the activity
      super.onCreate(savedInstanceState)
      }
      After changing those two things everything worked fine for me :))

    • @devjvu
      @devjvu Месяц назад

      @@thepomelocrazy4375 i got error: Execution failed for task ':app:checkDebugDuplicateClasses'.

    • @devjvu
      @devjvu Месяц назад

      @@thepomelocrazy4375 can you help me with the splashscreen? i am getting error

    • @thepomelocrazy4375
      @thepomelocrazy4375 Месяц назад

      @@devjvu of course! Tell me about your problem

  • @zehchapazik
    @zehchapazik 7 месяцев назад +2

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

  • @uncafedoble
    @uncafedoble Год назад +2

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

  • @PraveenKumar-rk1tj
    @PraveenKumar-rk1tj 8 месяцев назад +1

    The best explanation ever on youtube,Thank You

  • @alimohammed887
    @alimohammed887 Год назад +1

    A hidden gem on RUclips, keep it up!!

  • @mpowereer6992
    @mpowereer6992 10 месяцев назад

    simple and short tutorial, definietly deserve like

  • @ozhandrum
    @ozhandrum 7 месяцев назад

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

    • @codewithabdul
      @codewithabdul  7 месяцев назад

      I really appreciate your support and encouragement!

  • @antonds
    @antonds 6 месяцев назад +1

    Awesome tutorial! Thank you, Abdul!

  • @zillboy
    @zillboy 2 месяца назад +1

    Loved it bro 👍🏻👍🏻

  • @niveditaghosh7899
    @niveditaghosh7899 Год назад +1

    Thanks dude. It was very Helpful and understandable

  • @simple_user000
    @simple_user000 8 месяцев назад +2

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

    • @codewithabdul
      @codewithabdul  8 месяцев назад +1

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

  • @felipeoliveira9512
    @felipeoliveira9512 9 месяцев назад +1

    Thank you friend, you are one friend (:

  • @NicholasEduardo
    @NicholasEduardo Год назад

    Thanks so much, your tutorial was important for me 🙏

  • @supanusupanusan4177
    @supanusupanusan4177 3 дня назад

    Thank you very much ❤❤😊

  • @jacsdev
    @jacsdev Год назад

    cool!!! Nice tutorial bro!! Congrats

  • @MiriamAraújo-y1x
    @MiriamAraújo-y1x Год назад

    Thank you so much for making this video. 🙏

  • @rajthapa9006
    @rajthapa9006 7 месяцев назад

    you're a life saver man

    • @codewithabdul
      @codewithabdul  7 месяцев назад

      I’m glad it was helpful. 🙏🏻

  • @talhaabbas1816
    @talhaabbas1816 8 месяцев назад +1

    it was way more than useful

    • @codewithabdul
      @codewithabdul  7 месяцев назад

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

    • @talhaabbas1816
      @talhaabbas1816 6 месяцев назад +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  6 месяцев назад

      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 6 месяцев назад

      ​@@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

  • @peggy-f2e
    @peggy-f2e Год назад +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  Год назад +1

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

    • @peggy-f2e
      @peggy-f2e Год назад

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

    • @shubham_v
      @shubham_v Год назад

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

    • @faijanmemon
      @faijanmemon 11 месяцев назад

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

    • @faijanmemon
      @faijanmemon 11 месяцев назад

      were you able to solve that issue ?

  • @timpenguin16
    @timpenguin16 Год назад +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  Год назад

      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

  • @VijaySahani-x7v
    @VijaySahani-x7v 10 месяцев назад +1

    Awesome

  • @SaadSiddiqui-p3v
    @SaadSiddiqui-p3v 4 месяца назад

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

  • @worthyvibes9989
    @worthyvibes9989 Месяц назад

    getting alot of errors from gradle while appling splash for android .. crash my project huh

  • @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 Год назад

      @@codewithabdul Life saver!!

  • @bibekgurung5491
    @bibekgurung5491 6 месяцев назад

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

  • @Gaynatullin
    @Gaynatullin Год назад +1

    Thanks!

  • @mohammadfaisal3649
    @mohammadfaisal3649 6 месяцев назад +1

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

    • @codewithabdul
      @codewithabdul  6 месяцев назад

      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.

  • @tabishabbasi821
    @tabishabbasi821 Год назад +1

    awesome

  • @charlesorafu490
    @charlesorafu490 Месяц назад

    Thank you

  • @daoudabeye9510
    @daoudabeye9510 9 месяцев назад

    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 4 месяца назад

      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

  • @worthyvibes9989
    @worthyvibes9989 Месяц назад

    why android is showing two splash screens ???

  • @SoapCS2
    @SoapCS2 Год назад +1

    That terminal light theme is sexy

  • @siwaraouadi5244
    @siwaraouadi5244 4 месяца назад

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

    • @codewithabdul
      @codewithabdul  3 месяца назад

      It seems like the library is not installed properly. Kindly follow the installation guide to make it work proper.

  • @carloscazelattojr
    @carloscazelattojr 7 месяцев назад

    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  7 месяцев назад

      Latest react native supports kotlin instead of java

  • @KhairunnisaHurunIin
    @KhairunnisaHurunIin 8 месяцев назад

    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  8 месяцев назад

      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 8 месяцев назад

      Okay, thanks for the answer!@@codewithabdul

  • @KoreyMadden
    @KoreyMadden Год назад +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.

    • @KoreyMadden
      @KoreyMadden Год назад +1

      @@codewithabdul Awesome, thank you!

  • @MuhammadAhmad-fb2ji
    @MuhammadAhmad-fb2ji Год назад

    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  Год назад

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

  • @omarshabaan8569
    @omarshabaan8569 10 месяцев назад

    great tutorial. how to localize the splash screen ?

    • @codewithabdul
      @codewithabdul  9 месяцев назад +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

  • @melekkhmekhem
    @melekkhmekhem Год назад

    thanks bro

  • @AbdulMatin_Kadri
    @AbdulMatin_Kadri Год назад +1

    For andorid it's showing 2 launch_screen

  • @sharibtanweer
    @sharibtanweer 23 дня назад

    Man what about kotlin version? how to get?

  • @muzammil8498
    @muzammil8498 Год назад

    nice video😍

  • @iffahfarhana5034
    @iffahfarhana5034 10 месяцев назад

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

  • @turbbii290
    @turbbii290 Год назад

    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  Год назад

      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 Год назад +1

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

  • @mohammadyeasin6569
    @mohammadyeasin6569 Год назад

    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  Год назад +1

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

    • @dewaldesterhuysen712
      @dewaldesterhuysen712 Год назад

      @@codewithabdul Thank you. this worked for me

  • @sayantabhattacharjee9808
    @sayantabhattacharjee9808 5 месяцев назад

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

  • @lrcmestre
    @lrcmestre Год назад

    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 11 месяцев назад

      Same Issue

    • @codewithabdul
      @codewithabdul  7 месяцев назад

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

  • @ra-dro
    @ra-dro Год назад

    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  Год назад

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

    • @Antonym-b5o
      @Antonym-b5o Год назад

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

    • @codewithabdul
      @codewithabdul  7 месяцев назад

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

  • @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.

  • @yusufpolat9290
    @yusufpolat9290 11 месяцев назад

    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  11 месяцев назад +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 10 месяцев назад

      I got it, thank you.🙂@@codewithabdul

  • @akashkdas8535
    @akashkdas8535 7 месяцев назад

    where can i get that bundle for splashscreen
    android

    • @codewithabdul
      @codewithabdul  7 месяцев назад

      Kindly check the video at 00:48

    • @nikitaarora4631
      @nikitaarora4631 6 месяцев назад

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

  • @malikhandev
    @malikhandev 8 месяцев назад

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

    • @codewithabdul
      @codewithabdul  8 месяцев назад

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

  • @alandinh
    @alandinh 10 месяцев назад

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

    • @codewithabdul
      @codewithabdul  9 месяцев назад +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 9 месяцев назад

      @@codewithabdul I resolved the issue. thank you!

    • @codewithabdul
      @codewithabdul  9 месяцев назад

      Good to hear that. Thanks 🙏🏻

  • @syedarsalan7000
    @syedarsalan7000 8 месяцев назад

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

    • @talhaabbas1816
      @talhaabbas1816 7 месяцев назад

      tell me more may me i can help

    • @syedarsalan7000
      @syedarsalan7000 7 месяцев назад +1

      @@talhaabbas1816 fixed it using bootsplash, thanks.

    • @codewithabdul
      @codewithabdul  7 месяцев назад

      Good to hear

  • @MomentsOfGaming420
    @MomentsOfGaming420 Месяц назад

    sir my mainactivityfile is kt not java

    • @codewithabdul
      @codewithabdul  Месяц назад

      You need to align the syntax with kotlin. Base logic will be same.

  • @DawidMatyjasik-x5y
    @DawidMatyjasik-x5y 9 месяцев назад

    could you update your tutorial to React Native 0.73?

    • @codewithabdul
      @codewithabdul  9 месяцев назад

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

  • @somecreativeperson6719
    @somecreativeperson6719 Год назад

    what is the emulator you are using?

    • @codewithabdul
      @codewithabdul  Год назад

      I am using android 13 and iOS 16 emulators

  • @Shubuu7
    @Shubuu7 Год назад +1

    app icon shadow coming in Android how to fix it

    • @codewithabdul
      @codewithabdul  Год назад

      Can you please explain where the shadow is appearing?

  • @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 Год назад +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.

  • @emmanuelbamidele5064
    @emmanuelbamidele5064 10 месяцев назад

    how did you get the ios simulator

    • @codewithabdul
      @codewithabdul  10 месяцев назад

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

    • @emmanuelbamidele5064
      @emmanuelbamidele5064 10 месяцев назад

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

    • @codewithabdul
      @codewithabdul  10 месяцев назад

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

    • @codewithabdul
      @codewithabdul  10 месяцев назад

      @emmanuelbamidele5064 through VM ware, yes.

  • @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).

  • @vkvaraliya7504
    @vkvaraliya7504 9 месяцев назад

    Crash hoi raha he Release apk bro

    • @codewithabdul
      @codewithabdul  9 месяцев назад

      @vkvaraliya7504 error kya de rha hai bro?

  • @maksymsladik7073
    @maksymsladik7073 9 месяцев назад

    please, react native 0.73 with react native bootsplash

    • @codewithabdul
      @codewithabdul  7 месяцев назад

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

  • @milanvala2363
    @milanvala2363 4 месяца назад

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

  • @creativestarjsp
    @creativestarjsp 9 месяцев назад +1

    React Native 0.73 Version Please 🙏🤝

  • @Abdulrehman-gz6mr
    @Abdulrehman-gz6mr 3 месяца назад

    its so poor work , i follow him and be wast my time at the end , because my app has not show the splash screen also be has so errors show like this
    > Task :app:compileDebugKotlin FAILED

    • @codewithabdul
      @codewithabdul  3 месяца назад

      It seems like your app decided to take a vacation instead of showing you the splash screen! Let's get it back on track-make sure you set a proper kotlin version in build.gradle file. Still facing issues, kindly share the details on my Discord discord.gg/Xw75nsEYtt

  • @hussambinnoor
    @hussambinnoor Год назад

    not working

    • @codewithabdul
      @codewithabdul  Год назад

      Can you please pinpoint what issue are you facing?

    • @hussambinnoor
      @hussambinnoor Год назад

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

    • @techieoriname
      @techieoriname Год назад +1

      @@hussambinnoor use this instead.
      true

  • @muhammetaydinn
    @muhammetaydinn Год назад

    dont touch styles.xml

    • @codewithabdul
      @codewithabdul  Год назад

      Any specific reason for this suggestion?

  • @Irfanlesnar
    @Irfanlesnar 7 месяцев назад

    Wrong development!

    • @codewithabdul
      @codewithabdul  7 месяцев назад

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

    • @Irfanlesnar
      @Irfanlesnar 7 месяцев назад

      @@codewithabdulyou need to disable default splash screen

    • @codewithabdul
      @codewithabdul  7 месяцев назад

      Sure thanks, I’ll look into it.

  • @viomeshowers
    @viomeshowers 10 месяцев назад

    @8:08 @drawable/screen

    • @codewithabdul
      @codewithabdul  7 месяцев назад

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

  • @TienNguyen-un7lo
    @TienNguyen-un7lo Год назад

    awesome