Need a way to clear cache for the ionic resources command
Per conversation with Mike on Slack:
"the cache isn't kept locally this is the resources command works. It uploads the files, generates the images, then sends them back it keeps a small references to what project sent what then when you try to run the command again, it will diff the two images, if nothings changed, it will jsut send the same images back it's not a simple .cache file so to make it rebuild the image, make a small change to the psd, then build it again"
I am receiving 3 corrupt files from the ionic resources command ✓ splash ios Default-667h.png (750x1334) from cache ✓ splash ios Default-736h.png (1242x2208) from cache ✓ splash ios Default-Portrait@2x~ipad.png (1536x2048) from cache
I need a way to rebuild these files without changing the image. Please supply a way of running this command locally on the system or a way to clear the server cache.
+1
Hi, on Windows you can clean system temp files with ccleaner tool and ionic resources generates new splash and icons for your app.
Sorry for my english, i am from Chile.
I am using OS X and I am not sure your method will clear the Ionic cache as this resides on the Ionic servers not your local machine.
@jfcisternasm sorry, that doesn't work because it's Ionic's cache on their server that does it.
On osx try using memory clean app.
This can't be cleared locally as the cache is stored on Ionic's servers.
Any work around? Having similar issue in fedora
The OS doesn't matter. It's cached on Ionic's server. Change the source slightly and re-run the command.
That is a poor solution. Which is why I opened this request.
@hikumealan Sorry, I was responding to @introin about the work around.
I agree that it's a poor solution and am hopeful for a better solution.
I have changed all splash screen image in resource folder and re run 'ionic resource splash' and it worked [Command name i am writting with memory, check with official guide]
+1
+1
+1
+1
+1
+1 Image generated from cache seem broken, and no way to clean cache.
+1
+1
+1
I got in a situation where some of the cached versions of the android icons were empty (0KB) PNGs and the broken cached versions continue to get pulled down.