Forum Xamarin.Forms

How to remove all the images that is downloaded by the app on uninstalling

FXamainFXamain Member ✭✭

I am working on a Xamarin forms application for iOS, Android and UWP and we will be downloading images from the server and keeping in the local device for android and iOS and my requirement is that when there is a need to uninstall the app all the images that are downloaded by the app should also be removed from the app.

Please let me know if there is anyone who has tried it.


  • AndyFlisherAndyFlisher GBBeta, University ✭✭✭✭

    Have you tried Environment.SpecialFolder.LocalApplicationData ? Pretty sure this is within the app's own private data directory and gets deleted when the app is uninstalled?

Sign In or Register to comment.