Giter VIP home page Giter VIP logo

Comments (3)

ben-kn-app avatar ben-kn-app commented on May 28, 2024 1

Dear @timbru31 ,

I'm currently using your wonderfull plugin and works great. I also have difficulties in achieving a good animated splashscreen for all screen sizes (iphone, android, mobile & tablet) with a single animation. I'm trying different things, but not yet succeeded. (e.g. on tablet it shows white margins left and right, if I make it wider, it shows a white margin in the bottom of mobile devices, ...)

Concrete quick questions:
You say 'big' animation, how big? What dimensions are you using?
You say you use cropping, I've read that it only works on android, what is your solution for Apple screens, if any or do you only use it for Android?

Longer term philosophizing;
An option would be to add the support for different lottie animations for different screensizes. Or another (my prefered) option would be to provide a 'best practice' of dimensions and settings for a single animation to look great on most screens and would be a good starting point for users trying the plugin (to be added in the README). This could be a good starting point to be later extended by an automated tool to cut out the different lottie animation dimensions needed for different screen resolutions and add that to the config.xml, but that is version 2.x :)

from cordova-plugin-lottie-splashscreen.

stale avatar stale commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 28, 2024

No this is currently not possible. The best way is to use a big animation where cropping is possible - that's what we do. Alternatively you can use scaling (see README for Android quirks)

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.