Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 620 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 620 Bytes

SafetyNet sample

This is a sample for using the SafetyNet API on Android.

First, check the documentation: https://developer.android.com/training/safetynet/attestation

Sample

If you want to run the sample, just replace the SAFETY_NET_API_KEY with your own API key in the app/build.gradle

How to use it in my app

If you want to use the SafetyNet SDK in your app, just add the following dependency in your app/build.gradle:

implementation "com.google.android.gms:play-services-safetynet:16.0.0"

Then, you can take the code from com.example.safetynet.utils package and update it as you want.