Git Product home page Git Product logo

Comments (3)

acoutts avatar acoutts commented on May 30, 2024 3

For what it's worth I found this plugin doesn't work on android now and it doesn't seem to be maintained after the Flutter plugin revamp, because this is using an old method to access the Android View.

I did a lot of digging tonight and I found a workaround:

This tweet shows what it looks like importing the files: https://twitter.com/rive_app/status/1169294765625618432

I was able to get my Lottie animations to play without any issues now on iOS and Android with this combination. Flare ftw!

Make sure you pass in the prop animation: 'your_animation_name_here' so it matches what is displayed in the Rive Flare web editor:

Example, this one should be called 'Untitled' when you reference it in the code.
Screenshot_2020-01-25_21-31-41

from fluttie.

rafaeljustinox avatar rafaeljustinox commented on May 30, 2024 1

For anyone that are having the same issue, I recomend to use another package. https://pub.dev/packages/lottie
It's works very well and have been updated recently.

from fluttie.

bianbianzhu avatar bianbianzhu commented on May 30, 2024

For anyone that are having the same issue, I recomend to use another package. https://pub.dev/packages/lottie
It's works very well and have been updated recently.

The only issue is that it doesn't support web >_<

from fluttie.

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.