What Are The Exact Steps To Enable Safetynet Device Check Api On Android
Solution 1:
Step 1:Go to your Google cloud console with this link ,enable Android Device Verification for your project.
Step 2: add SHA-256 fingerprint in your firebase.do so from the Settings Page of the Firebase console.Download and replace the latest google-services.json file
Solution 2:
As per firebase the reCAPTCHA flow will only be triggered:
a. When SafetyNet is unavailable.
b. If the user does not have Google Play Services support.
c. When you are testing your app on an emulator.
d. Your device does not pass suspicion checks (if your device bootloader is unlocked or device is rooted )
To enable SafetyNet follow below steps or you can also visit Firebase Auth for more info.
Go to google cloud console , select your project .
Click on navigation menu and select APis & services and then select Dashboard .
Click on enable api and services and enable api " Android Device Verification".
Add SHA 256 in firebase project settings.(debug and release both)
Download and replace the latest google-services.json file in your project.
Solution 3:
Go to Google cloud console select your project and enable Android Device Verification google cloud console
Go to your project dir and paste this
cd android && ./gradlew signingReport
Copy SHA256 and SHA1 from Task :app:signingReport only
Go to firebase console go to your poject -> Project settings -> Select your app -> Click on Add fingerprint and paste your SHA256 and then SHA1
Post a Comment for "What Are The Exact Steps To Enable Safetynet Device Check Api On Android"