Load image from web and cache it [android and ios]`

How would I go about downloading image from web via urlloader and then caching it so next time when user stars application it doesn’t download it but loads from cache instead? Should I use File class and manualy create folders for files and save every image? Would this work on both ios and android? Thanks :slight_smile:

This seems to work just fine on neko and android, I didn’t even have to add any permissions to manifest :slight_smile: Now I just have to try it out on ios.

1 Like

@hcwdikk Did it work on iOS in the end? What did you end up with?

Yes it worked. I think I replaced “resolvePath” function with something smarter :smiley: but it worked just fine.