android - Am I supposed to edit the google-services.json file?
问题描述
I got an email from Google that says:
We have detected a publicly accessible Google API key associated with the following Google Cloud Platform project
and they point at the api key inside my google-services.json
file and at a url of someone hosting my apk.
The google-services.json
file is just what I got when following the Firebase instructions and put it where it said to put it. So did I do something wrong?
解决方案
No you are not supposed to edit it, you have to restrict it.
Note that if you are using Android Studio, you can get the signing report see this accepted answer here.
推荐阅读
- apache-kafka - Apache-Kafka:使用 windows cmd 创建主题时出现问题
- python - 尝试使用 Solve_ivp 求解牛顿多面体,并且正确性因 n 的不同值而异?
- javascript - 如何在 vuejs 中生成每个版本的新版本?
- python - 二叉搜索树的最低共同祖先
- hadoop - 在 HDFS 中看不到数据,使用 sqoop 从 mariadb 导入表到 Hadoop
- visual-studio - 如何将英特尔 Parallel Studio XE 中的 Fortran 编译器与 Visual Studio 结合使用
- bazel - 谁能详细说明如何在 C++ 规则中实现像 local_defines 这样的属性?
- java - 无法在 intellij 中创建类
- python - 迭代数据库数组烧瓶
- django - Django 返回 None 而不是 HTTP 响应