Clear Cache for AdColony and Other Video Ads

Hi,

I use AdColony in my game for Video Ads. It downloads the Video ads and has it in Application cache it looks like. Even after a day or 2 when I look at the app info in my android phone it shows additional 40MB of data which I only see after buffering AdColony Ad videos. Is there a way to clear this data so that I can do that on App Exit or sumwhere ?

Also if I do this, would it clear my PlayerPrefs data too ? Thanks.

1 Answer

1

Your video is stored in the application data path.

See this for more infos about R/W file in unity. You just have to delete file created with the File.Delete() command

Thanks a lot Vincent. Will check that out. I think this will do it!! :)