java - How does google-services.json replace default_web_client_id? -


first i'd have google play sign in , working. have struggling understand how specific line of code works.

googlesigninoptions gso = new googlesigninoptions.builder(googlesigninoptions.default_sign_in)                 .requestidtoken(getstring(r.string.default_web_client_id))                 .requestemail()                 .build(); 

i know how requestidtoken getting real clientid.
when investigating: default_web_client_id = 0x7f060035

when log r.string.default_web_client_id get: 2131099701

when log getstring(r.string.default_web_client_id) get: xxxxxxx-xxxxxxxxx0tfctc0fa0a.apps.googleusercontent.com(my web client id)

this id not located in strings or resources folder. in google-services.json file.

my question how getstring or default_web_client_id resolving clientid in json file?

thanks in advance enlightenment!

according this apply gradle plugin generates new xml file values json


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -