More specifically, I have observed the following:
- I install my banking app and it registers a payment confirmation token (whatever, this isn't really the point);
- I then uninstall the app (or clear storage from app settings, same behavior is observed);
- I reinstall the app. Then I just open the app (as if for the first time), and the banking app somehow detects that it's being installed on an already known device, because I get an SMS from the bank notifying me that the token has been disabled (again, specifics don't matter).
This means that somehow, even after reinstall, the app detects that it's being installed on an already known device.
Question is how can an app detect that it's being reinstalled on the same device? Is there a unique device ID that all apps have access to?
Moreover, I get the same behavior if I reinstall the app in the private space or in another user profile. Meaning the app is clearly identifying the device itself. The only permission this app has is Network.