GoogleFragment: Update EMBEDDED_SETUP_URL

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-04-24 09:06:32 +05:30
parent 0de1d63b5d
commit 3918fc199d

View File

@@ -50,8 +50,7 @@ class GoogleFragment : Fragment(R.layout.fragment_google) {
private val viewModel: AuthViewModel by activityViewModels()
companion object {
const val EMBEDDED_SETUP_URL =
"https://accounts.google.com/EmbeddedSetup/identifier?flowName=EmbeddedSetupAndroid"
const val EMBEDDED_SETUP_URL = "https://accounts.google.com/EmbeddedSetup"
const val AUTH_TOKEN = "oauth_token"
private const val JS_SCRIPT =
"(function() { return document.getElementById('profileIdentifier').innerHTML; })();"