Questions tagged [safetynet]
102 questions
67
votes
2 answers
Reported critical issues with version 17.0.0. google play warning
I got this warning when I was publishing my app
The developer of play-services-safetynet (com.google.android.gms:play-services-safetynet) has reported critical issues with version 17.0.0. Consider upgrading before publishing a new release.
Here's…

Ahmad Alaraj
- 695
- 1
- 5
- 5
16
votes
3 answers
Validate phone authentication without showing the Recaptcha on Android in February 2023 (Firebase)
I developed an app with Flutter and Firebase that uses the phone authentication feature for Android and IOS. Everything works as expected except that the recaptcha is showing for Android.
To solve this, it says in the documentation that we need to…

Mark Alexander
- 191
- 7
16
votes
3 answers
Play store warning to migrate to Play Integrity API: Critical issues for com.google.android.gms:play-services-safetynet:18.0.1
We got a warning that we should migrate to Play Integrity API. We use only recaptcha from this dependency. In docs I didn't find anything in Play Integrity API which replaces recaptcha from safetynet. Do you have any idea what should we do in this…

Aleksandr Urzhumtcev
- 328
- 1
- 3
- 14
10
votes
2 answers
unregister app in App check from SafetyNet in firebase
I have registered App in safetyNet in App check in firebase console but, now I have to unregistered
the app in safetyNet or disable safetyNet, How I do this?

Ashish Dawkhar
- 131
- 1
- 9
10
votes
1 answer
Google Safety net addOnFailureListener not trigger when user dismiss the verify dialog
Note I posted the issue/question to google sample github repo, https://github.com/googlesamples/android-play-safetynet/issues/12. However, I don't get any response yet.
library version used: com.google.android.gms:play-services-safetynet:11.4.2
I am…

sayvortana
- 825
- 2
- 16
- 32
9
votes
3 answers
What are the exact steps to enable safetynet device check api on Android
I have integrated firebase phone authentication in my android app. It was working fine for almost 2 months and suddenly from 2-3 days back I am observing different behavior.
Capcha screen started appearing. Earlier I had not enabled safetynet…

Anajaleena Oliver
- 121
- 1
- 1
- 5
9
votes
3 answers
Is api key needed in SafetyNet attestation?
I've successfully created backend service and Android client for SafetyNet attestation.
When I send jws token to my server and try to validate it's certificate it turns out that there is no certificate that signed it.
Should I add api key to my…

pixel
- 24,905
- 36
- 149
- 251
8
votes
1 answer
How to fix Remove the play-services-safetynet warning?
I am attempting to place my app in production but, continuously get the "warning"/error that wont allow me to deploy my app to production.
Critical issues have been reported with the following SDK…

Doing Things Occasionally
- 796
- 2
- 13
- 42
8
votes
3 answers
Using Firebase App Check is not working (debug)
I am not able to settle this issue when implementing the new App Check feature from Firebase.
When uploading files to Firebase Storage it fails with an error
Caused by: java.io.IOException: { "error": { "code": 401, "message": "Firebase App…

Bitwise DEVS
- 2,858
- 4
- 24
- 67
8
votes
1 answer
Android SafetyNet API fails when using API key restriction
When setting restriction to an API key the Attestation API stops working:
OnFailureListener gets fired with the CANCELLED(16) status code
The restrictions are the android package name and the certificate signature(SHA-1)
Does the SafetyNet…

Mickey Tin
- 3,408
- 10
- 42
- 71
6
votes
2 answers
Why did SafetyNet Attestation stop working?
I have an app which has been using the SafetyNet Attestation API for some time.
All of a sudden, all calls to the API started failing. Did something happen to the SafetyNet Attestation API?

Oscar
- 346
- 2
- 11
6
votes
2 answers
Safetynet Issue Status{statusCode=NETWORK_ERROR, resolution=null}
We have follow Scottyab Safetynet Library.
We are facing error of “Status{statusCode=NETWORK_ERROR, resolution=null}” event though 4G internet connectivity available in our android device with package name com.safetynet.sample where as sample…

Jigar Shekh
- 2,800
- 6
- 29
- 54
5
votes
0 answers
Flutter phone authentication with the Play Integrity API
Flutter phone authentication is not working since the safety net device verification is deprecated.
For the new projects created after January 2023, the safety net option is not available. We must use the Play Integrity API.
I enabled the Play…

Salman G
- 51
- 1
5
votes
0 answers
Flutter firebase_auth crashed after removed SafetyNet
My flutter app is using firebase_auth (v 4.2.1) plugin to verify the phone number and which worked perfectly. But then I got "Migrate your Google SafetyNet Attestation API" warning from Google Play. When I search, found that "SafetyNet" is used in…

user2609021
- 681
- 2
- 11
- 30
5
votes
1 answer
How to change SafetyNet version in a flutter app?
Google is not publishing any update release for my app because of this warning:
The developer of play-services-safetynet
(com.google.android.gms:play-services-safetynet) has reported critical
issues with version 17.0.0. Consider upgrading before…

ahmad
- 165
- 1
- 10