When running app, app will create a lot of cached files. If user uninstall app, I think that these files need to be removed. I suggest a solution for this issue:
- Write cached file to External Cached Directory
- If the user uninstalls your application, these files will be automatically deleted.
How to implement
You can also access a cache directory on a secondary external storage (if available) by calling ContextCompat.getExternalCacheDirs()