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

Works on web debug mode but not in production #95

Open
ObiajuluM opened this issue Oct 5, 2023 · 1 comment
Open

Works on web debug mode but not in production #95

ObiajuluM opened this issue Oct 5, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ObiajuluM
Copy link

When I run out locally it loads all the assets, buy when I push to firebase it doesn't load.

I am loading the files from lib/images/

@ObiajuluM ObiajuluM added the bug Something isn't working label Oct 5, 2023
@mdembny
Copy link

mdembny commented Dec 13, 2023

I have similar case. This is workaround for that. In my case my model is in assets/my_model.glb
When you build web app flutter put my model into assets/assets/my_model.glb but package still try to find model in assets/my_model.glb
so if you have flavours in your app you can, when you build release, add addition assets/ to your model path. then it should works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants