Image Downloader and Cache For iOS

$4
Publisher Brain Check
File size 188.45kB
Number of files 16
Latest version 1
Latest release date 2022-03-08 02:36:15
First release date 2022-03-08 02:36:15
Supported Unity versions 2018.4.2 or higher
Plugin will allow developers to download multiple images at runtime from the server and provide an option to cache them in local storage.
How Plugin Works :
When the user calls a plugin to download an image with a url then the plugin will first check in the in memory cache whether any image for the url exists or not. If it exists then the plugin will return the image from the cache itself. If not then it will check whether an image for the url exists in device local storage or not. If it exists then the plugin will retrieve the image from local storage and will return the image from the local storage itself. If it does not exist in local storage then the plugin will download the image from the server. After completing download if isAllowedLocalStorage will be true for image then it will be saved to local storage and then image will be returned to the unity. Whole process of downloading images , storing and retrieving images happens in the background thread only so no impact on the main thread.
Features:
1. Download multiple images in parallel in background thread
2. Cache multiple images in device storage to reuse when user again open the application

Top Publisher Assets