Giter VIP home page Giter VIP logo

Comments (8)

timbru31 avatar timbru31 commented on May 27, 2024

It's possible to use custom "dependencies" inside the Cordova platform: https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html#adding-dependency-libraries.
E.g:
<framework src="com.airbnb.android:lottie:2.5.0-beta3" />

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 27, 2024

Kotlin support is currently not available. .kt resources are not copied anymore due to apache/cordova-android@a9e01f4

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 27, 2024

Things that are still WIP/unsolved

  • LottieHideTimeout
  • LottieRemoteEnabled
  • LottieCancelOnTap
  • AutoHideSplashScreen
  • Installation without manual Kotlin config
  • JS bridge
  • Installation without manual project.properties change
  • Sizing of animation view

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 27, 2024
  • Installation without manual project.properties change
    -- can be solved by installing cordova-android 8 nightly builds

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 27, 2024
w: /Users/timbru/work/ume/door-to-door-webapp/platforms/android/app/src/main/kotlin/de/dustplanet/cordova/lottie/LottieSplashScreen.kt: (52, 79): Parameter 'width' is never used
w: /Users/timbru/work/ume/door-to-door-webapp/platforms/android/app/src/main/kotlin/de/dustplanet/cordova/lottie/LottieSplashScreen.kt: (52, 99): Parameter 'height' is never used
w: /Users/timbru/work/ume/door-to-door-webapp/platforms/android/app/src/main/kotlin/de/dustplanet/cordova/lottie/LottieSplashScreen.kt: (59, 17): Name shadowed: location

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 27, 2024

For now I've decided to pin lottie-android to 2.7.0 which is a now AndroidX version. I'll open a new version for AndroidX

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 27, 2024

Hardware acceleration and customisable image paths have been added with 8b26e95, AndroidX support is in #36
w: /Users/timbru/work/ume/door-to-door-webapp/platforms/android/app/src/main/kotlin/de/dustplanet/cordova/lottie/LottieSplashScreen.kt: (59, 17): Name shadowed: location has been fixed, too

from cordova-plugin-lottie-splashscreen.

timbru31 avatar timbru31 commented on May 27, 2024

Missing features have been added via 4027f6c. Closing.

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.