Get info about your Device Integrity through the Play Intergrity API
Get info about your Device Integrity through the Play Intergrity API
Get info about your Device Integrity through the Play Integrity API
[!WARNING] If you don't install the app from Play Store and sideload it, you might not get the
MEETS_BASIC_INTEGRITYandMEETS_STRONG_INTEGRITYresults.
[!WARNING] If you want to implement the Play Integrity API in your app you shouldn't do it this way. The API server should not send the whole JSON to the app, only a yes/no. Also ideally you should pair the integrity request with another one (for example login). That way your API won't let the user proceed without a valid Integrity token that passes integrity checks (even if your app is reverse engineered).
In order to run this yourself you'll need:
local.properties like this:API_URL=https://my-awesome-server-url.comMEETS_BASIC_INTEGRITY and MEETS_STRONG_INTEGRITY)MEETS_BASIC_INTEGRITY and MEETS_STRONG_INTEGRITY enabledTo set up your Google Cloud project see here
MIT License
…No open issues yet, or sync has not completed.