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

iOS: Feature-Request: Add "assetFolder" for Android-parity #20

Open
rohidjetha opened this issue Aug 26, 2017 · 8 comments
Open

iOS: Feature-Request: Add "assetFolder" for Android-parity #20

rohidjetha opened this issue Aug 26, 2017 · 8 comments

Comments

@rohidjetha
Copy link

I have put the images folder and the json file on /app/assets/iphone/
The json file is working but the images are not displayed, I add put the assetFolder properties to : images/

@hansemannn
Copy link
Sponsor Collaborator

Yeah, sub-directories can likely cause issues in the current implementation. Will fix in 1.2.0 Beta 2, but tbh, since it is no image, it has nothing to do in images/.

@hansemannn hansemannn added the bug label Sep 9, 2017
@hansemannn hansemannn added this to the ios-1.2.0 milestone Sep 9, 2017
@hansemannn hansemannn added the ios label Sep 9, 2017
@hansemannn hansemannn changed the title Images not displayed in iOS iOS: Images not displayed Sep 9, 2017
@rohidjetha
Copy link
Author

Where can I put the images then for now?

@hansemannn
Copy link
Sponsor Collaborator

Lottie-files are no images, they are json-based data structures. Put the JSON into app/assets and your normal images in app/assets/images if you want, but that just depends on what your app wants. Lottie does not use any local image files.

@rohidjetha
Copy link
Author

I know that. But some Lottie animation requires external images. But then I can't use it because the images are not loading with this extension.
This is why there is an assetFolder but I don't know if it's working or not

@hansemannn
Copy link
Sponsor Collaborator

The assetFolder is Android-only at this time, so I'll move this to be a feature-request instead. Thx!

@hansemannn hansemannn added enhancement and removed bug labels Sep 9, 2017
@hansemannn hansemannn changed the title iOS: Images not displayed iOS: Feature-Request: Add "assetFolder" for Android-parity Sep 9, 2017
@PietroGranati
Copy link

+1 ! I really need this one on iOS!
Thanks for the hard work

@albert0m
Copy link

albert0m commented Jun 5, 2019

any updates on this?

@hansemannn
Copy link
Sponsor Collaborator

This is an open source repository, guys. You can either contribute to it or hire someone to do it for you if necessary. Please don't spam GitHub threads like this.

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

No branches or pull requests

4 participants