Open rohidjetha opened 7 years ago
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/.
Where can I put the images then for now?
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.
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
The assetFolder
is Android-only at this time, so I'll move this to be a feature-request instead. Thx!
+1 ! I really need this one on iOS! Thanks for the hard work
any updates on this?
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.
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/