更新
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "150225239581",
|
||||
"project_id": "riderp-30072",
|
||||
"storage_bucket": "riderp-30072.appspot.com"
|
||||
"project_number": "987156664714",
|
||||
"project_id": "riderpro-a9b22",
|
||||
"storage_bucket": "riderpro-a9b22.appspot.com"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:150225239581:android:422283723db3908bdfd0f4",
|
||||
"mobilesdk_app_id": "1:987156664714:android:2c29c11b9cd8be78b9f873",
|
||||
"android_client_info": {
|
||||
"package_name": "com.aiosman.riderpro"
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyDNGmfzdCTJ0PxQ3yTwdWhRaDhqS1JDWaQ"
|
||||
"current_key": "AIzaSyB9zLZ80Bz6OrAWCCZxM8BK75dWS7RROBM"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
|
||||
@@ -25,8 +25,8 @@ fun handleGoogleSignIn(result: GetCredentialResponse, onLoginWithGoogle: (String
|
||||
suspend fun GoogleLogin(context: Context, onLoginWithGoogle: (String) -> Unit) {
|
||||
val credentialManager = CredentialManager.create(context)
|
||||
val googleIdOption: GetGoogleIdOption = GetGoogleIdOption.Builder()
|
||||
.setFilterByAuthorizedAccounts(true)
|
||||
.setServerClientId("754277015802-pnua6tg8ibnjq69lv8qdcmsdhbe97ag9.apps.googleusercontent.com")
|
||||
.setServerClientId("987156664714-3bpf58ldhhr0m474ep48l668ngdn7860.apps.googleusercontent.com")
|
||||
.setFilterByAuthorizedAccounts(false)
|
||||
.build()
|
||||
val request = GetCredentialRequest.Builder().addCredentialOption(googleIdOption)
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user