We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 61e8923 + 08b98ab commit d75c4b1Copy full SHA for d75c4b1
README.md
@@ -99,6 +99,10 @@ Will download the file from the given url and save it to the device.
99
Returns a Promise that is resolved with the path to the underlying cached image file path if download was successful.
100
Promise is rejected if the download or file write failed.
101
102
+#### `ImageCacheProvider.seedCache(local: string, url: string, options: CacheOptions): Promise`
103
+Seed the cache for a given url with a local image.
104
+Useful to avoid having to download an image when you have a local copy.
105
+
106
#### `ImageCacheProvider.deleteCachedImage(url: string, options: CacheOptions): Promise`
107
Deletes the underlying cached image for a given url.
108
0 commit comments