2
In my app I create the database done in Sqlite in the folder:
System.Environment.Specialfolder.Personal
But on some devices (Android) when uninstalling the app it seems that the database continues in the folder, because when installing the app again it starts logged in and with the previously saved data.
Would anyone know why this occurs and how it could solve this problem?
Dude, I noticed this also only on an Asus device with Android 7. It seems to be a modification of the OS made by the manufacturer. Particularly found it very bad. It means that it is keeping other trash after that desisntalo. An alternative may be to set up a broadcast receiver for the uninstallation event (need to confirm if you have this, do not remember) and do the manual deletion of the bank
– Diego Rafael Souza
Yeah, but I think this is happening on an Android 6.0 that some of the owners of the company where I’m making app makes test. They suggested I do this android:allowBackup="false" in Androidmanifest.xml. Only I haven’t tested it yet.
– user114682
I’ve noticed this too, by what I had noticed it happens when you have more than one user registered on mobile (guest user)
– RafaelFerreira