Giter VIP home page Giter VIP logo

Comments (12)

martinglover avatar martinglover commented on June 20, 2024 1

I was getting this same issue, run npm i https://github.com/timbru31/cordova-plugin-lottie-splashscreen
Seems there are issues have been fixed but had no release created

from cordova-plugin-lottie-splashscreen.

rahul-bmninfotech avatar rahul-bmninfotech commented on June 20, 2024

until he is not solving the issue, you can create the custom Splash component and use in app.component.ts like:

image

use: @lottiefiles/lottie-player to play the animation in component

image

after create the capacitor build: (ionic cap build android)

remove this attribute from AndroidManifest.xml

image

Hope this will help

from cordova-plugin-lottie-splashscreen.

chidav77 avatar chidav77 commented on June 20, 2024

until he is not solving the issue, you can create the custom Splash component and use in app.component.ts like:

image

use: @lottiefiles/lottie-player to play the animation in component

image

after create the capacitor build: (ionic cap build android)

remove this attribute from AndroidManifest.xml

image

Hope this will help

Oh thanks. This is a nice workaround.
Just a question if you can clarify a bit..
Why is needed the deletion of the android theme attribute in manifest?
Does it affects how the app works?

Another question... How to hide the modal whrn the app is loaded?

Thanks!

from cordova-plugin-lottie-splashscreen.

rahul-bmninfotech avatar rahul-bmninfotech commented on June 20, 2024

it's loading the styles.xml and in this file, it's loading the default static splash screens, if you will not remove this, it will keep loading the static splash screens on the app loading.

image

by removing this attribute we are just preventing android to load the default splash screen and default android splash screen.

On another hand, when we are showing a splash screen from the app component, that means the platform has been already loaded, you can simply hide by giving the duration to the modal component.

from cordova-plugin-lottie-splashscreen.

kurtiev avatar kurtiev commented on June 20, 2024

@chidav77 Didn't solve it? Faced the same issue.

from cordova-plugin-lottie-splashscreen.

chidav77 avatar chidav77 commented on June 20, 2024

@chidav77 Didn't solve it? Faced the same issue.

No. Seems no one fixed this issue

from cordova-plugin-lottie-splashscreen.

kurtiev avatar kurtiev commented on June 20, 2024

ok, let me know please if you'll find a way how to fix that, especially on iOS. Thanks. @chidav77

from cordova-plugin-lottie-splashscreen.

danielzen avatar danielzen commented on June 20, 2024

Same issue, Capacitor 4.6.1, Angular 15.

Looks like a problem with the code for screen size and center. Perhaps even the screen size multiplier if I have to venture a guess.

LottieRelativeSize seems to work for sizing the Lottie, but still not centered, and I can't change the background rectangle position or size (just the color).

Perhaps this will be helpful to someone:

from cordova-plugin-lottie-splashscreen.

LAccastello avatar LAccastello commented on June 20, 2024

Same problem here. I wasn't be able to fix it.

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on June 20, 2024

Released v0.10.0 with a fix for the crash. Proper Capacitor support will be handled separately.

from cordova-plugin-lottie-splashscreen.

kurtiev avatar kurtiev commented on June 20, 2024

Still getting issues
image

from cordova-plugin-lottie-splashscreen.

elmartino avatar elmartino commented on June 20, 2024

same issue here

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.