本文介绍了Firebase远程配置获取失败,用户未经授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将生产应用程序设置为使用远程配置,但是却遇到了FirebaseRemoteConfigFetchException.该项目已经部署,我们使用FCM,Crashlytics和Dynamic Links.如果我在firebase上使用dev项目,则一切正常.所以我不认为这是google-service.json配置.配置之间的唯一区别是在生产实例中,我具有SHA证书指纹设置.

I'm trying to set up my production application to use remote config, but I'm getting a FirebaseRemoteConfigFetchException. This project is already deployed, we use FCM, Crashlytics and Dynamic Links. If I use the dev project on firebase everything work just fine. So I don't think it's the google-service.json configuration. The only difference between the configurations is in the production instance I have the SHA certificate fingerprint setup.

推荐答案

挖了一点点,到处看,我发现由于某种原因,我不得不去 https://console.developers.google.com ->启用API和服务-> Firebase远程配置,并启用该API.完成之后,一切又开始恢复正常.

After digging a little bit, and looking all over the place, I found that for some reason I had to go to https://console.developers.google.com -> Enable API and Services -> Firebase Remote Config, and enable that API. After doing that everything started to work again.

我希望这对以后的人有帮助,加油!

I hope this helps someone in the future, cheers!

这篇关于Firebase远程配置获取失败,用户未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 11:27