Improving Your Ionic Splash Screen with Animations

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • Ever wanted a more animated and dynamic splash screen for your Ionic app? Learn about some options including Lottie animations to spice up your app!
    🔥Learn Ionic faster with the Ionic Academy: ionicacademy.com/
    💎 Get the Built with Ionic Book: builtwithionic...
    🎉 Get my Practical Ionic Book: devdactic.com/...
    #############################
    👨‍💻Want to read instead of watch?
    Here's the full Ionic tutorial: ionicacademy.c...
    🤷‍♂️Want more Ionic tutorials?
    There you go: devdactic.com/
    ⚡️Take my 7 Day Ionic 4 Crash Course
    ionicacademy.c...
    #############################
    ❤️You can also find me...
    on / simongrimm_
    on / schlimmson
    on / devdactic
    #############################

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

  • @patsullyyy
    @patsullyyy 4 года назад +31

    would love to see this with capacitor 😉

    • @galaxies_dev
      @galaxies_dev  4 года назад +16

      Interesting, you seem to be the first to say that! Oh wait........ :D

    • @khambatgurbanov5890
      @khambatgurbanov5890 3 года назад +4

      ​@@galaxies_dev we still waiting )

    • @marcelvarela3706
      @marcelvarela3706 3 года назад +4

      @@galaxies_dev Just waiting to receive a notification of a new video of this for capacitor...

    • @TheConic
      @TheConic 3 года назад +4

      for real, we need this for capacitor!

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

      I agree, altough I don't have any animated splash screen, I use SVG as image background in native Android apps, so I'd like to know how to make it without to modify the generated native project.

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

    Lottie sounds definitely interesting. Worth to have a deeper look into that.

  • @LuckystrikeGFXer
    @LuckystrikeGFXer 4 года назад +4

    I would love to see how much more you can do with lottie. As far as I know you can/have to create lottie animations with adobe after effects.

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

    Great video Simon!
    But It seems Google has changed the way splashscreens work in Android 11 and 12.
    Please advise....

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

    again learnt something new with splash screen thanks simon...

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

    u are a genius, estuve matandome con el lottie, y solo daba errores, la verdad esta es la forma mas practica que he visto y me encanta!

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

    Brother... once again... you save my life...

  • @aminbenslimen4758
    @aminbenslimen4758 4 года назад +5

    for who's having android.support.v4.... problem when building run these commands :
    ionic cordova plugin add cordova-plugin-androidx
    ionic cordova plugin add cordova-plugin-androidx-adapter

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

      Thank you so much

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

      even when i run these commands the app keep crashing

  • @easyengineering9134
    @easyengineering9134 4 года назад +14

    the same project using capacitor would have been nice since ionic always complains about using cap over cordova..!!

    • @galaxies_dev
      @galaxies_dev  4 года назад +6

      "complains" is not correct, it's just their recommendation by now ;)
      Still, a lot of people out there have Cordova apps and it's important too. But I'll also work more with Capacitor in the future, since you can always use Cordova plugins with Capacitor as well.

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

      @@galaxies_dev thanks for your very helpful videos! just one thing, the cordova splash screen doesn't work with capacitor.. i'm using the capacitor plugin but i'm having a white screen because of the fade i guess even though i put the fade animation duration to 0 to try to show the page immediately after the splash but still.. can you help ? thanks :)

    • @AhsanAli-dw8iv
      @AhsanAli-dw8iv 4 года назад +2

      @@Marshall86MT I'm stuck in the same issue.

  • @jyothikrishn1202
    @jyothikrishn1202 4 года назад +6

    Very helpful tutorial, can we implement it using capacitor

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

      if the lottie has capacitor port then u can

    • @miner-vd3qt
      @miner-vd3qt 4 года назад +3

      I tired but didn’t find proper plugin, if anyone implemented lottie with capacitor please share with us thanks 🙏

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

    Hi Simon,
    Can you please make video guide on splashscreen api for Android 12+ devices for cordova-android >= 11?
    Thanks

  • @user-zi3gc2pg5s
    @user-zi3gc2pg5s 4 года назад +3

    Thanks a lot Simon,I learn from you.could you give tutorial about capacitor login with Facebook and google plus

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

    nice job Simon

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

    would also love to see a tutorial on getting a cordova plugin working in capacitor project, following the documentation on ionic doesn't work.

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

    Nice video Simon, always with amazing content thanks!!

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

    You saved my day 👍

  • @miner-vd3qt
    @miner-vd3qt 4 года назад +3

    Rocking as always!! I saw this vdo screen while you are recording your week activities 😉 and I was waiting for it desperately
    Simon, can you please show, how I can use lottie with capacitor, I tried before couple of week but no luck
    Kindly look into, when time permits 🤞

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

      Thank you so much 😀 Yeah more Capacitor, will try my best!

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

    Thanks, when splash screen with capacitor?

  • @hannesg.3586
    @hannesg.3586 4 года назад +1

    great tutorial. thanks.

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

    awesome tutorial

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

    How you know , i was searching this topic today!!

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

    Same project using capacitor?

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

    Excellent great work, the Best master of Ionic.

  • @HelloWorld-fh2ge
    @HelloWorld-fh2ge 2 года назад

    Thank you for cordova's tutorial, but I'm looking for capacitor !

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

    Can you help with setup the Lottie animation on Vue Js, Capacitor app.

  • @blinderGBS
    @blinderGBS 4 года назад +2

    I see a few have already asked the "Capacitor" question. Just had a look at the Capacitor Ref Doc on SplashScreen. I think I will try that one, although the "ionic cordova resources" command looks good - would it work by itself?

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

      You can create the splash inside a Capacitor project like inside Cordova with that command since they updated it! But about Lottie I'm not yet sure, will check it out!

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

    hi, Very helpful tutorial.
    but there is an problem on android a grey screen before splash screen for one to 2 seconds and splash screen show navigation bar and status bar on bottom and top please give solution for that

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

    Great video, Simon! I had a play around with lottie splash screens but found a dependency problem for my ionic 4 project. Lottie requires kotlin and android X (added in config.xml). But if I were to upgrade to android X, some of my other Cordova plugins would no longer work... There are some SO posts that suggest installing 2 further plugins : cordova-plugin-androidx and cordova-plugin-androidx-adapter in order to make it all coexist. At that point, it's getting a bit OTT for a simple splash screen update. I feel like I'm living in a house of cards.

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

      I think you'll need AndroidX support anyway at some point :/

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

    Very nice! Beware only android 9 is supported otherwise the app will crash on start!

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

      me too, i try with android 6.0 is crashed too, do you have solution?

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

      @@megepertv You can't use these plugin. Only Works on Android 9 and above. Sorry!

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

    sir getting a multidex error while using it with firebase.... please help.. thanks in advance

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

      Please update your Angular version to 9, it's needed for the latest AF version.

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

    Hello good explanation.
    But I got a problem after adding splash screen to my project after I built it an apk and tried to see the output means the app automatically closes soon after a black screen reply me soon..

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

    Nice video Simon! but I've have a question, why aren't you using capacitor? I had the idea that ios won't be accepting cordova because of the deprecated UIWebview or maybe I'm wrong. I'm a little confused with that topic and I really hope you can help me to clarify this. Thanks in advance and I love your videos, keep it up!

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

      Cordova works perfectly fine, and Cordova is not the reason your apps won't be accepted. There were issues with old WebView implementations, but this is not related to Cordova!
      So it's still fine, but ofc I will also create more content around Capacitor in the future!

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

      @@galaxies_dev thank you very much! I'll do more research on that topic, but your answer help me a lot. I'll be looking forward for those capacitor videos tho (:

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

    How can i remove or add image in gray screen before splash

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

    How can I have two images one after another in splash screen? Please reply..

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

    Hi Simon, i am having an error while running this on the emulator and the device:
    Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file /ios/capacitor-cordova-ios-plugins/sourcesstatic/CordovaPluginLottieSplashscreen/LottieSplashScreen.swift, line 223
    I am pretty sure that the completionHandler should not be "nil", couldn't get a fix online. Any advise?

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

    Hi Simon, I am very bad at Css. Make some tutorials on Designing

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

      Noted!

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

      @@galaxies_dev same here and i can learn alot of stuff about css but its really alot of stuff, it willl be helpful if you can share some libraries or any thing just like bootstrap to design apps quickly and nicely. and do you prefer global designing for ionic app or its better to design each page seperatly.

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

    Perfect, how to do this with react js?

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

      Sorry but I haven't worked with React yet Nelson :/

  • @user-df9fw5qc3x
    @user-df9fw5qc3x 3 года назад

    In ionic 5 with Vue dosn't exist Platform class

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

    But sir for me, in android, while I click on the app, the app first launches with a grey screen, and then only it shows the splash image, don't know why so can u please help me with this. I am really stuck with this.

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

    yes tried looking good 👍

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

      Hope you enjoy!

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

      @@galaxies_dev Yes as always...,,,

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

    Thanks Simon,, but its not work with capacitor..
    I hope you made video for capacitor.

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

      I think they added support to this plugin to make it work with Capacitor as well?

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

    thanks for the video Simon. I just have a question. Can i implement a background image behind the animation?. Thanks

    • @galaxies_dev
      @galaxies_dev  3 года назад +2

      Hmm I think you can do this directly in the animation, but you can also set a background color for the launch screen in your config.xml afaik!

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

    How installing Lottie in After Effects ?

  • @98raunak
    @98raunak 3 года назад

    How to add Animated Splash Screen in Ionic 3 Apps?

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

    Hello, can't I get app.component.html, please

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

    How to change splash screen programmatically in ionic ... Is it possible to change splash screen dynamically in ionic.

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

    On Android before splash screen i have gray screen. How can i remove this. When i went search i see that it is backgriund of splash screen. i modified splash screen configurantions numbers but i cant remove this

  • @rodrigosilva-jp4ol
    @rodrigosilva-jp4ol 3 года назад

    good afternoon simon
    explain to us why the capacitor
    took the resources folder from the ionic project
    since it was the simplest way to generate the application's icon and splash
    now you have to run this command
    npm install -g cordova-res to generate the folder
    but where is it in the project
    if it is possible to make a videos
    taught to put splash in the project I'll be grateful
    because there isn't this video on youtube

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

      You can simply create that folder once, and run the command with an icon and splash file in there like before. Check out this: capacitorjs.com/docs/guides/splash-screens-and-icons

    • @rodrigosilva-jp4ol
      @rodrigosilva-jp4ol 3 года назад

      @@galaxies_dev good afternoon Simon thanks for your attention I had a bit of difficulty but getting to create the Splash screen getting to understand the documentation I'm dedicating myself here because I want to master this framework just like you thank you I'm your fan

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

    Hi Simon - Would it be possible to use a small video as the splash screen? Would it be the same as the SVG example but using

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

      You can always come up with a custom solution, like presenting a page full screen that shows a video and dismiss the page after like 2 seconds to fake a splash screen!

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

    Hello Simon! thanks for the tutorial, can you give a little tutorial for ionic 5? is different code and there is different things than the video, thank you ;)

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

      No v4 and v5 are mostly the same and this was also more about the Cordova plugin than Ionic itself, so should work fine with the latest version!

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

      @@galaxies_dev Thank you, at the end i had to revert it because couldnt fix it, looks it crashes and cannot see the problem

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

      @@galaxies_dev Would you mind please to bring us a piece of code about how it should be? i cannot understand what im doing wrong because i doesnt work at all

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

    Hi Simon, Nice tutorial i tried the same but the iOS build fails for some reason after adding lottie plugin. Is there any thing need to check. I'm on ionic v5 and xcode 11.5

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

      I'm not aware of any issues, you should check the build log for a detailed log of the actual error!

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

    Hello buddy. It's possible to use lottie animations with capacitor project? or only works with cordova project?

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

      I guess it will work but I haven't tried so far :/

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

    I think in 2021 there is no config.xml file anymore, its a tsconfig.json file now i think

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

      If you use Cordova in 2021 there will be a config.xml ;)

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

    Super useful, but how many mb lottie has?

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

    Please update this tutorial

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

      This is quite up to date, not sure what you mean?

  • @AhsanAli-dw8iv
    @AhsanAli-dw8iv 4 года назад

    Can I use this in my Capacitor project ?

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

      I think this setup won't work as it requires changes inside the config.xml, but perhaps there'll be a Capacitor plugin for this in the future!

  • @JayPatel-jk8iu
    @JayPatel-jk8iu 4 года назад

    its works great with cordova but wht if i want to use it with capacitor ??

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

      I think there is no Capacitor plugin for this yet :/

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

      @@galaxies_dev Hi Simon! I've been working during the entire day to make it work with capacitor, but I couldn't. Everything you did in your tutorial was using only cordova to build the apk?? thank you!

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

    looking at video uploaded date, i thought you are using capacitor.

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

      Yeah I mostly use Capacitor these days but for Lottie there wasn't a package yet :/

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

    Dont work in my project, lottie no work!!! =(

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

    What happened captain ionic!!!..... I dont work this tutorial with Lottie Splash Screen, No load the splash screen, Its Ok if I want call .json from url of lottie files?

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

      I'm not a Lottie expert yet, but the setup of the video should definitely work!

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

    I am having this weird error with Lottie "'Lottie/Lottie.h' file not found" any possible solutions ??
    I have already tried to add Lottie.framework in Xcode but I could not find it!.
    Thank you.

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

      Normally Cordova should add everything that you need, so not sure what went wrong :/

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

    with capacitor????

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

    Lottie animations crash in android.

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

    Please, make some content in Ionic and React

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

    Hi Simon, nice tutorial video, well done.
    I am wondering if Lottie Splash Screen plugin only serves Cordova and its not available for capacitor right now why at ionic documentation (ionicframework.com/docs/native/lottie-splash-screen#installation) there is installation section for capacitor!
    It would be really great if you provide us with any solution that let using Lottie Splash Screen or gif for capacitor splash screen. Thanks

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

      Good question indeed.. But from what we've seen in here we need to add settings to the config.xml which you don't have with Capacitor. But perhaps it works for Capacitor even without it?