Ionic Splash Screen and Icon - iOS & Android

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

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

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

    can I use an exisitng project or would it rewrite everything

  • @shubhodeepbhattacharya8488
    @shubhodeepbhattacharya8488 4 года назад +1

    hello..thank you so much for this video.very well explained. a simple problem i am having. after the splash screen loads there is a white screen for a very brief moment just before the app opens the root page. do you have any idea how to solve this problem. i used capacitor.

    • @CodeSwag
      @CodeSwag  4 года назад

      If your app needs longer than 3 seconds to load, configure the default duration by setting launchShowDuration in your capacitor.config.json

  • @DheerajSharma-kt6df
    @DheerajSharma-kt6df 4 года назад

    How can I add animated splash screen in ionic. I tried Lottie but app is not working. Any solution for animated splash screen.

  • @rampage241
    @rampage241 4 года назад +1

    Thank you

  • @normalguyize
    @normalguyize 3 года назад +1

    do they have to be png files or can they also be jpeg?

    • @CodeSwag
      @CodeSwag  3 года назад +1

      has to be PNG, jpeg will NOT work

  • @leonrique
    @leonrique 3 года назад

    What's that again about 1200 x 1200 px on the image real content?

  • @suikasuika4157
    @suikasuika4157 3 года назад

    it zoom on it can we control that size ?

  • @ScottieSLG
    @ScottieSLG 2 года назад +1

    This doesn't work for capacitor, only cordova.

    • @CodeSwag
      @CodeSwag  2 года назад

      Yes, its for cordova only. However you can use cordova to generate the assets, then manually copy them over to your intended capacitor project. It would still save a significant amount of time.

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

      I'm a year late, but this can help new readers... In my Capacitor Ionic app I successfully got it to work in these steps:
      1. in root folder create /resources folder and add icon.png (512x512 min) and splash.png (1920x1920 min)
      2. npm install -g cordova-res
      3. cordova-res android --skip-config --copy (for Android, obviously!)
      This generated all the many icon and splash image variations and renamed and copied them to my Android project in Ionic.

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

      @@JBuchmann what's the difference between capacitor and Cordova ? Sorry iam new to this ionic framework and want to change the angular icon launcher on Android, so what to use ? Cordova one or capacitor ?

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

      @@haritsyusuf2503 Well, I think for these icons you need to use Cordova. But this is only to get these dang icons to automatically get generated. You can continue to use Capacitor for everything else. As for difference between Cordova and Capacitor, I'm not seasoned enough to explain too well.... but the way i see it is Cordova is old tech, and the new modern tech is Capacitor. But in some cases you need to dip into the Cordova for some things like this. Or if Capacitor doesn't have what you need for some plugin, then you can use Cordova. Please someone more pro correct me if I'm wrong!

  • @SweetHodu
    @SweetHodu 2 года назад +1

    이곳에서의 글은 나의 문제를 해결하지 못했다. 나는 최초 어플리케이션 로드에 검은색(또는 하얀색)의 화면이 뜨는 것을 해결하고 싶지만, 여기 영상에서도 마찬가지이다. 이것을 해결해야만 한다. 만약 한국인이 것은 번역체라 그렇다.

    • @CodeSwag
      @CodeSwag  2 года назад

      어떤 버전을 사용하고 있습니까? Cordova 또는 Capacitor를 사용하고 있습니까?

    • @SweetHodu
      @SweetHodu 2 года назад

      @@CodeSwag Cordova입니다. 그러나 저는 이 문제를 해결하기위해 react native로 프로젝트를 변경했습니다. 감사합니다.

  • @philmups8207
    @philmups8207 4 года назад +1

    wakanyanya

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

    adadw