在pub.dev上有google_sign_in个包,但是它提供的用于设置应用程序的链接指向https://firebase.google.com/?platform=android.
谢谢!
在pub.dev上有google_sign_in个包,但是它提供的用于设置应用程序的链接指向https://firebase.google.com/?platform=android.
谢谢!
太棒了!你可以的.
在云控制台创建项目.
创建OAuth 2.0 clientId(通过使用包名对其进行限制)
下载JSON并将其放入android->;应用文件夹,就是这样.
在不进入firebase的情况下,按照google_sign_in package中的步骤进行操作
GoogleSignIn googleSignIn = GoogleSignIn(
clientId:"xxxx.apps.googleusercontent.com");
客户端ID是可选的-但在Ffltter Web中是必需的