stripe / stripe-terminal-android

Stripe Terminal Android SDK
https://stripe.dev/stripe-terminal-android/
Other
86 stars 45 forks source link

Warning: com.google.android.gms:play-services-safetynet #458

Open barbarok opened 4 months ago

barbarok commented 4 months ago

Hello,

I'm having this warning on Google Play Console for my app which uses Android Stripe Terminal Tap To Pay SDK.

play-services-safetynet (com.google.android.gms:play-services-safetynet)”:
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 https://developer.android.com/training/safetynet/deprecation-timeline

Then I noticed in the dependency tree of my app that com.stripe:stripeterminal-localmobile dependency has com.google.android.gms:play-services-safetynet as a transitive dependency which is now deprecated and has been replaced by com.google.android.play:integrity :

image

Both dependencies are present in version 3.5.0 of localemobile dependency.

image See on Maven Website

Do you intend to remove safetynet from localemobile dependency soon ?

Thank you for your answer.

chr-stripe commented 4 months ago

Hi @barbarok, we are in the process of migrating from SafetyNet to the new Play Integrity API throughout the next few releases. Rest assured, we will have removed our dependency on SafetyNet before the full turndown in January 2025.