Missing api_key/current key with Google Services 3.0.0

后端 未结 17 979
小鲜肉
小鲜肉 2020-12-02 07:20

Since I upgraded the project with the latest version of google services and libraries (9.0.0), I have this strange issue :

Grade console :

:         


        
17条回答
  •  执念已碎
    2020-12-02 07:55

    If you don't want to reconfigure and download the google-services.json file then you can fetch the api key directly from firebase console. Just go to

    Overview > Add another App > Web

    You will get configuration for your database which will contain apiKey. Just copy that value and place it in the current_key value denoted by XXX below

    "api_key": [{ "current_key": "XXX" }]
    

提交回复
热议问题