When I push my app to the Google Play Store, I have an exeption:
com.google.android.gms:play-services-safetynet:17.0.0.
Also message from developer:
The SafetyNet Attestation API is being discontinued and replaced by the new Play Integrity API. Begin migration as soon as possible to avoid user disruption. The Play Integrity API includes all the integrity signals that SafetyNet Attestation offers and more, like Google Play licensing and better error messaging. Learn more and start migrating at developer.android.com/training/safetynet/deprecation-timeline