Missing api_key/current key with Google Services 3.0.0

后端 未结 17 975
小鲜肉
小鲜肉 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 08:10

    If you are using firebaes, you have to copy serverKey from the firebase to the google-services.json

     "api_key": [{ "current_key": "SERVER_KEY"}
    

    To get the server Key, Goto ProjectOverview> Project Settings > CloudMessaging > Copy OR generate and copy serverKey..

提交回复
热议问题