The Verify Apps API is distinct from the SafetyNet Attestation APIThe Attestation API checks the integrity of a device, while the Verify Apps API checks whether there are potentially harmful apps installed on the deviceFor added security, you must verify the integrity of the device by using the Attestation API before using the Verify Apps API.
Apr , at PMI just came here to post this exact question and you beat me to itI'm having the same issue, but I did verify that SafetyNet passes using another app from the play store, so the issue seems specific to magiskReactions f.c_dj and Konfuzion.
Android SafetyNet API fails when using API key restrictionWhen setting restriction to an API key the Attestation API stops working OnFailureListener gets fired with the CANCELLED status codeThe restrictions are the android package name and the certificate signature (SHA ) Does the SafetyNet Attestation API support restricted API keys
In order to call the methods of the SafetyNet Attestation API, you must use an API keyTo create a key and embed this key, complete the following steps Go to the Library page in the Google APIs ConsoleSearch for, and select, the Android Device Verification APIThe Android Device Verification API dashboard screen appears.
Steps to use SafetyNet Attestation API with Android Device and ServerObtain an API key To call the strategies for the SafetyNet Attestation API, you should utilize an API keyTo make a key and install this key, complete the following steps Navigate to the Library section in the Google APIs Console.
That could pretty easily be carried out right from the Magisk Manager itself (or the Magisk App, as is now known as beginning with version )However, some users are facing an API issue while carrying out this taskIf you are also getting bugged with the Magisk Safetynet API error, then this guide shall help you fix itFollow along.
For Safetynet you have to do the following stepsIn Magisk Manager open settings gearunder Magisk enable MagiskHideAbove MagiskHide is a menupoint called "Hide Magisk Manager", click on it, give the magisk manager a new name, click ok and wait until it's reopendGo to main menu of the magisk manager.
The SafetyNet test suddenly stopped working for several usersAfter investigation, the developer found that the API key that Magisk uses was indeed blocked for some reasonThe SafetyNet Attestation API blockage caused several SafetyNet test to failHere is what John Wu has to say about it.
Using the SafetyNet APIThe SafetyNet attestation API is a Google Play Services API that any developer can use in order to gain a degree of assurance that the device their application is running on is CTS compatible.CTS stands for Compatibility Test Suite, which is a suite of tests a device must pass, prior to release, to be allowed to