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 ->

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.6:
Fixed failed attests by updating to latest Google SafteyNet API 15.0.1
(Android 2.3.4+)
Latest: 0.5 on February 7, 2017
(Android 4.0+)
Latest: 0.6 on August 17, 2018
All versions
August 17, 2018
February 7, 2017