SafetyNet Helper is an open source library for the Google Safety Net API. It’s makes it easier for developers to integrate and use this great service provided by Google to add extra layer of validation of the device your app is running on. This is the sample app to show how it works.

If you want to jump straight to the code go here -> github.com/scottyab/safetynethelper/

This sample app will check if your device passes the Google SafetyNet CTS test

SafetyNet Helper library features:
* Simplified call the SafetyNet API
* Decoding of the JSON Web Token (JWT) response into simple POJO
* Integration with the Device verification API to verify the JWT message.
* SSL pinning on the Device verification API connection
From version SafetyNet Helper Sample 0.5:
SafetyNet Helper Library updated to 0.3.0
Support for Basic Integrity check
Dependency on play-services-safetynet upgraded to v10.0.1
Response validation is only run on cts or basic Integrity pass
All versions
February 7, 2017