I have implemented a SafetyNet attest check when launching the app. It works fine when I run the release version from Android studio and detects (for eg.) the emulator from the device correctly. However when I download the same version from the Play store, it fires the failure listener every time, on a lot of legit devices.
It is a restricted API and works fine when run locally on those same devices.
If you check the image, the 33.75% error rate is when I have used this from the play store.
Any idea what could be happening different with the same code when running in app downloaded from the Play store?