pb4now pb4now - 1 year ago 94
Java Question

Creating GoogleSignInOptions...?

whille creating GoogleSignInoptions I fallow the steps presented on 'firebase' site
that are as fallow:

GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)

and just wondering what is that String that I'm passing there -R.string.default_web_client_id - and can it vary or is it always "R.string.default_web_client_id" ??

Answer Source

what is that String

It's automatically generated and you can see it at


can it vary or is it always "R.string.default_web_client_id"?

Since it is generated by compiling Google Services, it is always the same (at least until Google decides to rename it with an API update).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download