Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Not Loading animations. #30

Open
jameskaguo777 opened this issue Dec 31, 2019 · 3 comments
Open

Not Loading animations. #30

jameskaguo777 opened this issue Dec 31, 2019 · 3 comments

Comments

@jameskaguo777
Copy link

I tested fluttie 0.3.0 and fluttie 0.5.0 on my android 10 device but keeps showing loading animation, help what could be wrong?
no error just loading to infinite.
Could be the mounted state not working properly?

@acoutts
Copy link

acoutts commented Jan 26, 2020

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

@rafaeljustinox
Copy link

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.

@bianbianzhu
Copy link

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 >_<

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants