📜  在没有firebase的情况下颤动谷歌登录idToken - 任何代码示例

📅  最后修改于: 2022-03-11 14:54:57.779000             🧑  作者: Mango

代码示例1
//THIS JUST SAVED YOU HOURS OF RESEARCH -> UPVOTE :)
I just added a string.xml file to my android project with client id of a web client

strings.xml content(app/source/main/res/values/string.xml):
  YOUR_WEB_CLIENT_ID 

So in google cloud console go to credentials(https://console.cloud.google.com/apis/credentials) and get your web client's client id.