IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

Warning: SafetyNet Attestation API discontinued #2133

Closed esmeetewinkel closed 6 months ago

esmeetewinkel commented 10 months ago

Details When creating a Play Store Release I'm getting the error below, which @ChrisMarsh82 said he wanted to speak to @chrismclarke about.

Screenshots and videos

image
chrismclarke commented 10 months ago

A quick search on github sees a bunch of repos with the issue: https://github.com/search?q=play-services-safetynet+discontinued&type=issues

For us it looks like it's coming from firebase auth, see issue https://github.com/firebase/firebase-android-sdk/issues/3890

According to the issue it was fixed in firebase android release bom 31.4.0 As noted in android\app\build.gradle we're currently using bom 29.3.0, so should just need an update there. Although as noted in the issue there the warning might persist as it keeps the play-services-safetynet as a fallback.

I'm guessing at the same time it might make sense to apply any minor version updates to @capacitor-firebase/authentication and maybe core firebase deps too (in case of incompatibilities), although could test just with the android bom increment first. More info at: https://firebase.google.com/docs/android/learn-more?utm_source=studio#bom

Would you be able to take a look at this @jfmcquade ?

jfmcquade commented 10 months ago

Thanks for looking into it @chrismclarke, I'll take a look when I can