safetynet

Safety environment check in android using SafetyNet Attestation API is not working as it not getting callback on success or failure callback

≯℡__Kan透↙ 提交于 2019-12-01 20:19:38
For saftey environment check in android I was using https://developer.android.com/training/safetynet/attestation.html SafetyNet.getClient(this).attest(nonce, API_KEY) .addOnSuccessListener(this,successListner) .addOnFailureListener(this,failureListener) for which I am getting failure callback with network error null . Can anybody please throw some light on this ? but https://medium.com/@hargoyal/secure-android-app-with-safetynet-8e367a1c8ad0 SafetyNet.SafetyNetApi.attest(mGoogleApiClient, nonce) .setResultCallback(new ResultCallback<SafetyNetApi.AttestationResult>() { @Override public void