发送safetynet兼容性检查请求是否有配额限制

is there any quota limit for sending safetynet compatibility check request

safetynet docs 的参考文献中提到 "The default request quota for a SafetyNet Attestation API key is 10,000 requests per day. If you require additional capacity, send a request to the SafetyNet API quota team".

我没有使用文档中提到的任何类型的密钥来进行兼容性检查 request.Based 对上述信息我有以下疑问:

  1. 以上配额限制是为了安全网响应的在线验证吗?如前所述 here
  2. 我们是否需要通过在开发人员控制台等上创建项目来获得安全网响应的任何类型的 API_KEY?我相信 API_KEY 是在线验证安全网响应所必需的,但是为了获得安全网响应,我们不需要任何东西,我们只需要使用安全网 APIs,这就是我目前正在做的事情为有效的 android 设备提供成功的兼容性检查响应。
  3. 那么safetynet兼容性检查APIs(不是验证API)如何做客户端识别呢?它是 android 特定于应用程序还是特定于用户的 google 帐户?
  4. 如果 safetynet 兼容性检查 API 是特定于应用程序的,那么是否有任何类型的配额?例如如果有 100000 android 台设备安装了我的应用程序,并且该应用程序使用 safetynet 兼容性检查 APIs 并且每天有 1000000 次兼容性检查请求,它是否有效?我还需要其他东西吗?
  5. 如果 safetynet 兼容性检查 APIs 是用户的 google 帐户 (gmail) 特定的,那么是否有任何类型的配额?
  6. 如果使用 safetynet API 的我的应用程序的用户没有 google 帐户(gmail id)怎么办?它对他的 android phone 有效吗?

is the above quota limit is for online verification of safetynet response?

是的。此配额独立于在线验证服务的配额

do we require any kind of API_KEY by creating project on developer console etc for getting safetynet response?

一般是的。可以在没有 API 密钥的情况下使用证明,但不能保证配额,并且它可能随时停止工作,恕不另行通知。此外,如果您达到配额并且不使用 API 密钥,则无法增加配额。没有理由不获得 API 密钥,所以如果您想使用证明,请获得一个。

请注意,从 Google Play Services 11.0 开始。 attestation API call changed,现在使用 API.

时必须提供密钥

so how safetynet compatibility check APIs(not verification API) do client identification? Is it android application specific or user's google account specific?

它是 API 键特定的。请确保您将密钥设置为仅适用于您指定的应用程序(您可以在开发人员控制台中进行设置)。这样,如果用户找到了您的 API 密钥,他们就无法将其重新用于其他应用。

if the safetynet compatibility check API is application specific,then is there any kind of quota ? e.g. if there are 100000 android devices which have my application installed in it and the application uses safetynet compatibility check APIs with per day 1000000 requests for compatibility check, will it work or not? Do I need something else ?

if safetynet compatibility check APIs are user's google account(gmail) specific then is there any kind of quota ?

what if the user of my application which is using safetynet APIs dont have google account(gmail id)? will it works on his android phone or not?

配额为每个密钥每天 10000 次调用。在这种情况下,您将达到配额并且需要 have the quota raised.

最后,请记住,虽然可以根据需要提高认证配额,但在线验证服务仅用于测试和调试目的,很可能不会提高配额。请不要将在线验证服务用于非调试目的。请改为使用离线验证。