"Sensitive scopes you submitted for review aren't the same as the scopes that your app requests" React Native Google 适合
"Sensitive scopes you submitted for review aren't the same as the scopes that your app requests" React Native Google Fit
我提交了使用 Android Google Fit API 的应用以供审核。我从 Google.
收到了以下回复
Hi,
Thanks for applying for OAuth App verification your response reaching
out.
We noticed that the sensitive scopes you submitted for review aren't
the same as the scopes that your app requests:
Scopes Submitted for Review
https://www.googleapis.com/auth/fitness.activity.read
https://www.googleapis.com/auth/fitness.activity.write
Requested by your App
https://www.googleapis.com/auth/fitness.activity.read
with the verification process, please update either of the following:
The request for scopes in your app's codebase so that the scopes
requested by your app match the scopes {in your Console/in review} or
The scopes you submitted for review using the scope picker in your
Console. If you're adding scopes to your Google Cloud project, make
sure you provide a detailed Scope Justification for each additional
scope you submit for review. You can find more information in the
OAuth Application Verification FAQ. If you have other questions,
please reply to this email to continue
东西在 GCP 中,我显然只请求读取权限:
然后在我要求的代码中使用 React-Native-Google-Fit 库:
const options = {
scopes: [Scopes.FITNESS_ACTIVITY_READ, Scopes.FITNESS_LOCATION_READ],
};
const authResponse = await GoogleFit.authorize(options);
Google 从哪里得知我正在请求写入权限?我该如何解决?我只需要阅读 Google Fit.
的练习
所以我只需要将 fitness.location.read
添加到请求的范围。 Google 似乎在无效地认为我在请求 fitness.activity.write
,即使它应该是 fitness.location.read
。
我提交了使用 Android Google Fit API 的应用以供审核。我从 Google.
收到了以下回复Hi,
Thanks for applying for OAuth App verification your response reaching out.
We noticed that the sensitive scopes you submitted for review aren't the same as the scopes that your app requests:
Scopes Submitted for Review
https://www.googleapis.com/auth/fitness.activity.read
https://www.googleapis.com/auth/fitness.activity.write
Requested by your App
https://www.googleapis.com/auth/fitness.activity.read
with the verification process, please update either of the following:
The request for scopes in your app's codebase so that the scopes requested by your app match the scopes {in your Console/in review} or The scopes you submitted for review using the scope picker in your Console. If you're adding scopes to your Google Cloud project, make sure you provide a detailed Scope Justification for each additional scope you submit for review. You can find more information in the OAuth Application Verification FAQ. If you have other questions, please reply to this email to continue
东西在 GCP 中,我显然只请求读取权限:
然后在我要求的代码中使用 React-Native-Google-Fit 库:
const options = {
scopes: [Scopes.FITNESS_ACTIVITY_READ, Scopes.FITNESS_LOCATION_READ],
};
const authResponse = await GoogleFit.authorize(options);
Google 从哪里得知我正在请求写入权限?我该如何解决?我只需要阅读 Google Fit.
的练习所以我只需要将 fitness.location.read
添加到请求的范围。 Google 似乎在无效地认为我在请求 fitness.activity.write
,即使它应该是 fitness.location.read
。