Created
March 31, 2020 13:28
-
-
Save AngaKoko/24cc55e50a286f771d52380826ce5589 to your computer and use it in GitHub Desktop.
Initializing google sign in client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Configure Google Sign In | |
val gso = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) | |
.requestIdToken(getString(R.string.default_web_client_id)) | |
.requestEmail() | |
.build() | |
//Initialize google sign in client | |
googleSignInClient = GoogleSignIn.getClient(requireActivity(), gso) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment