Is there a way to catch the app_remove event fired in my Android app? In any way, when the application is uninstalled, there is data that I need to delete from the device during uninstallation. Is there any way I can do this with firebase app_remove or otherwise?
What I mean by data here is that the user makes some settings on his phone together with the application. I need to get these settings back as soon as the app is deleted. Storage has nothing to do with it.
No, sorry.
Store the data in locations that will be cleaned up automatically when the app is uninstalled. That includes locations obtained from
Context, such asgetFilesDir(),getCacheDir(), andgetExternalFilesDir().