Questions tagged [safetynet]
102 questions
2
votes
2 answers
Minimum support OS version for SafetyNet API
I am using the Google SafetyNet API to detect device tampering in my application. Reference:: https://developers.google.com/android/reference/com/google/android/gms/safetynet/package-summary
But I cannot find any reference to the minimum support OS…

jim
- 8,670
- 15
- 78
- 149
2
votes
1 answer
Safetynet API helper error
I wanted to implement safety net API to verify the device status one of the easiest methods I found is a safety net helper class which makes the implementation so simple github.com/scottyab/safetynethelper.
I copied all the class from safetynetlib…

Aashish Vivekanand
- 191
- 4
- 11
1
vote
1 answer
Safetynet to Play Integrity migration - Google Cloud account
When we migrate from the SafetyNet Api to Google Play Integrity Api we need link a PlayStore application to the Google Cloud Project in the Google Play console.
For existing on production application should it be the same google cloud project in…

Cerviany
- 49
- 4
1
vote
0 answers
SafetyNet Attestation API deprecation
I'm getting this email from Google developers who remembers me to migrate to Play Integrity API.
My app is built using react-native and it uses rnfirebase library for Authentication, storage, and a few other services. We are not using AppCheck…

Sreehari K
- 887
- 6
- 16
1
vote
0 answers
Play Integrity expect behavior for Futter App and how deactivate the API
Recently, Google has deprecated the reCAPTCHA system. I have read the documentation, but it does not mention how the system is validated from the users perspective. One of the most annoying things that could happen with the old reCAPTCHA API is…

Eduardo Yamauchi
- 821
- 7
- 25
1
vote
0 answers
App Check PlayIntegrity Not Working - Firebase Android
I have implemented App Check for my application , I have registered Sha256s,activated appcheck in console,initialized it buy it doesnt work with play Integrity !! I always get " Detected invalid AppCheck token. Reconnecting (0 attempts remaining)…

Luis
- 59
- 5
1
vote
0 answers
Firebase Phone Auth not working on flutter app (release aab file)
I have tested the application in debug mode and release mode (.apk file). It works perfectly, but when I release an app bundle (.aab) for the play store using the same Keystore, it doesn't work.
I have registered SafetyNet and IntegrityAPI in…

Manzar Gulzar
- 23
- 10
1
vote
1 answer
Firebase Admins SDK and App check SafetyNet
I have firebase project connected to android app, and I am using App check (SafetyNet), and it work 100% well.
Also I am using admins SDK (java) to connect and do action in the project. before using the App check every thing was working 100% well,…

MehdiS
- 89
- 5
1
vote
0 answers
Asking the user to update Play Store
Recently, we've integrated Play Integrity in our app to prevent emulators and bots. However, some users cannot generate integrity tokens with the following reasons:
Binding to the service in the Play Store has failed. This can be due to having an…

Stefan Todorovski
- 83
- 2
- 14
1
vote
0 answers
Is it possible to forge a SafetyNet Attestation token/x509 certificate
I was instructed to implement the API SafetyNet Attestation in an app and there were some concerns about verifying the token.
We created an endpoint that will return a nonce generated on the server side that will include the hash of a mix of…

user18105458
- 51
- 3
1
vote
1 answer
Not getting SafetyNet Api Attestation Response
I got an issue with google safetynet api attestation response. Even if i supplied the safetynet client, nonce and the apikey to the "client.AttestAsync()" method it won't return SafetyNetApiAttestationResponse. What could possibly wrong with below…

thilim9
- 227
- 2
- 8
- 17
1
vote
0 answers
How to add SafetyNet attestation to Flutter application
I was enabling AppCheck through SafetyNet in Google Play console for my Firebase-RT project (as recommended by the Google guys). I want now to configure a Flutter application to use it. How can I do that? I couldn't find any official way to do it.

user2641103
- 704
- 9
- 25
1
vote
0 answers
Safetynet attestation request from a webview's javascript?
Today I was wondering if it would be possible to perform a Safetynet attestation request from the webview of an app.
I actually would assume 'yes' because a webview lives in the context of an app and so it would be possible for the request to get…

Sven Onderbeke
- 35
- 1
- 8
1
vote
1 answer
SafetyNet offline verification
I am trying to follow the example here to perform an offline verification (https://github.com/googlesamples/android-play-safetynet/blob/master/server/java/src/main/java/OfflineVerify.java). However, when I tried to import the following classes,…

localacct
- 611
- 5
- 13
1
vote
4 answers
ApiException in android with status code 7 while using safetynet attestation API
Apiexception with status code 7 occurs due to network error but that doesn't seem to be the issue since internet is working fine on the device.
Code snippet-
SafetyNet.getClient(this).attest(nonce, API_KEY)
…

Shourya Jaiswal
- 21
- 6