Giter VIP home page Giter VIP logo

Comments (5)

timbru31 avatar timbru31 commented on June 16, 2024

This is probably related to #461

from cordova-plugin-lottie-splashscreen.

GuidoGagliardini avatar GuidoGagliardini commented on June 16, 2024

This is probably related to #461

ok. Thanks for answering me.
Isn't there a way to force the splashscreen to occupy 100% of the screen height?

from cordova-plugin-lottie-splashscreen.

fabriciovasc avatar fabriciovasc commented on June 16, 2024

I had the same problem... do you must show lottie splashscreen after hiding native android splash screen with after your app is ready... example:

this.platform.ready().then(() => {
  // your status bar changes
 
 setTimeout(() => {
   (navigator as any).splashscreen?.hide(); // hide native splash screen

   this.lottie.show(); // show lottie splash screen
   setTimeout(() => {
      this.lottie.hide();
   }, 4000)

 }, 1000);
})

in this case, there will be two splashscreens... first will run the android native splash, after close then it will show lottie splashscreen

Result

Screenshot 2023-06-13 220455

from cordova-plugin-lottie-splashscreen.

GuidoGagliardini avatar GuidoGagliardini commented on June 16, 2024

I had the same problem... do you must show lottie splashscreen after hiding native android splash screen with after your app is ready... example:

Yes I have to show lottie splashscreen after the native splash, but this solution doesn't work. The problem is that lottie SplashScreen does not cover 100 of the height of the screen and leaves a purple border (as seen in the image).

Thank you very much for your contribution!

from cordova-plugin-lottie-splashscreen.

koalter avatar koalter commented on June 16, 2024

I think the issue may be related with the notch. That would explain why it shows the status bar area on your screenshot and not on @fabriciovasc 's.

This same behavior is also happening when I try it on a physical Galaxy A21s (Android 12)

EDIT: adding pictures for reference. Tested in Pixel 4 and Pixel 6 overlays, both running Android 13

image

image

from cordova-plugin-lottie-splashscreen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.