I am working on an app which requires file creation on the first launch. On next launch, I have to check if the file exists. If available then skip some app-specific initializations. This works perfectly for me.
Issue : For Android 7.0 and later and Motorola Devices.
The problem starts when I uninstall the app and again download the app from play store. Now files which are created previously are not getting deleted. So all app-specific initializations are getting skipped.
Please help me with this issue. Thanks in advance.