Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load and use external remote asset #142

Open
nisimjoseph opened this issue Aug 30, 2019 · 4 comments
Open

Load and use external remote asset #142

nisimjoseph opened this issue Aug 30, 2019 · 4 comments

Comments

@nisimjoseph
Copy link

I want to load the Welcome screen dynamically using A/B testing, meaning the Flare file will be load from the network.
I know I can download a file, but Flare is allowing to load the file only from assets folder (AssetBundle). the file location is like "assets/filename.flr".
I search in the docs and can't find how to load from other application storage than the "assets" folder. want to load from the cache folder.
Any example of how to do it or is it possible in Flutter?

@cmcgill1988
Copy link

To my knowledge this isn't something you can do yet with Flare-Flutter, I know I've seen a couple of posts on similar issues by the developer saying this is something they want to handle but currently it doesn't

@jkurtw
Copy link
Collaborator

jkurtw commented Jan 6, 2020

I believe this is a duplicate of #202

@yuwen-yan
Copy link
Collaborator

Hi @nisimjoseph , right now I'm adding MemoryFlare #215 , with this provider, you can fetch flare data by yourself and render it with FlareActor.memory(xxx)

I'm also planning to add a light version FlareActor.network later, will update this thread once it's ready.

@nisimjoseph
Copy link
Author

hi @ybbaigo this is great!!!

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

No branches or pull requests

4 participants