This repository was archived by the owner on Jan 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
vector/src/main/java/im/vector/activity Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ Changes in Riot 0.9.6 (2019-09-13)
2+ ===================================================
3+
4+ Other changes:
5+ - Get around Google limitation of SSO through WebView by modifying the WebView user agent
6+
17Changes in Riot 0.9.5 (2019-09-10)
28===================================================
39
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ buildscript {
2323
2424// global properties used in sub modules
2525ext {
26- versionCodeProp = 90500
27- versionNameProp = " 0.9.5 "
26+ versionCodeProp = 90600
27+ versionNameProp = " 0.9.6 "
2828 versionBuild = System . getenv(" BUILD_NUMBER" ) as Integer ?: 0
2929 buildNumberProp = " ${ versionBuild} "
3030}
Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ class FallbackAuthenticationActivity : VectorAppCompatActivity() {
6565 mMode = intent.getIntExtra(EXTRA_IN_MODE , MODE_LOGIN )
6666
6767 mWebView.settings.javaScriptEnabled = true
68+ // Due to https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html, we hack
69+ // the user agent to bypass the limitation of Google, as a quick fix (a proper solution will be to use the SSO SDK)
70+ mWebView.settings.userAgentString = " Mozilla/5.0 Google"
6871
6972 mHomeServerUrl = getString(R .string.default_hs_server_url)
7073
You can’t perform that action at this time.
0 commit comments