首页 > 解决方案 > Google Cloud Platform Firebase Installations Api 仅显示错误

问题描述

我有一个 Android 应用程序正在使用

implementation 'com.google.firebase:firebase-analytics:17.6.0'
implementation 'com.google.firebase:firebase-messaging:20.3.0'
implementation 'com.google.firebase:firebase-crashlytics:17.2.2'

在我的 Google Cloud Platform 项目中,我有一个 Api Key,它不受 API 限制,但仅限于使用包名称和 SHA-1 指纹(由 Google Play 控制台管理)的 Android 应用程序。

我收到一封电子邮件警报,说您的应用程序的 Firebase 服务由于应用程序限制而出现故障,如果我转到 Firebase Installations API(已启用),我会看到“CreateInstallation”的错误数量惊人。

这只发生在我的 Prod 环境中,并且 google-services.json 设置正确。我限制Android应用程序错了吗?还是可能发生其他事情?

很感谢任何形式的帮助。

标签: androidfirebasegoogle-cloud-platform

解决方案


推荐阅读