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 -> https://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
SafetyNet Helper é uma biblioteca de código aberto para a API do Google Safety Net. É torna mais fácil para os desenvolvedores a integrar e utilizar este grande serviço fornecido pelo Google para adicionar camada extra de validação do dispositivo seu aplicativo está sendo executado. Este é o aplicativo de exemplo para mostrar como ele funciona.
Se você quiser pular direto para o código aqui -> https://github.com/scottyab/safetynethelper/
Este aplicativo de exemplo irá verificar se o dispositivo passa no teste Google SafetyNet CTS
SafetyNet ajudante recursos de biblioteca:
* Chamada simplificado o SafetyNet API
* Decodificação do JSON Web token (JWT) resposta em POJO simples
* A integração com a API de verificação de dispositivos para verificar a mensagem JWT.
* SSL fixar na conexão API de verificação de dispositivos