I am trying to integrate the play integrity check in my app to make sure that my app is not installed on a rooted Android device. I can successfully obtain the integrity token response as guided in the google document. But I am trying to verify it in my locally and close the app if its installed on a rooted device. For that local verification, I am following the document Decrypt and verify locally. But I could not understand what is Base64OfEncodedDecryptionKey and Base64OfEncodedVerificationKey and from where I can obtain that.
Asked
Active
Viewed 2,211 times
1 Answers
8
You need to go to Google Play Console -> Release -> Setup -> AppIntegrity -> Response encryption -> Change, choose "Manage and download my response encryption keys", generate key file (follow instructions in "Show instructions"), upload this file.

faizksen
- 189
- 1
- 4
-
Any idea of where to find those keys for a debug app or not released on the store app ? – Ben-J Jan 16 '23 at 09:36
-
1@Ben-J unfortunately no, but you can use internal testing in google play console – faizksen Jan 17 '23 at 10:04