Since I upgraded the project with the latest version of google services and libraries (9.0.0), I have this strange issue :
Grade console :
:
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" }]