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
+
1
7
Changes in Riot 0.9.5 (2019-09-10)
2
8
===================================================
3
9
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ buildscript {
23
23
24
24
// global properties used in sub modules
25
25
ext {
26
- versionCodeProp = 90500
27
- versionNameProp = " 0.9.5 "
26
+ versionCodeProp = 90600
27
+ versionNameProp = " 0.9.6 "
28
28
versionBuild = System . getenv(" BUILD_NUMBER" ) as Integer ?: 0
29
29
buildNumberProp = " ${ versionBuild} "
30
30
}
Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ class FallbackAuthenticationActivity : VectorAppCompatActivity() {
65
65
mMode = intent.getIntExtra(EXTRA_IN_MODE , MODE_LOGIN )
66
66
67
67
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"
68
71
69
72
mHomeServerUrl = getString(R .string.default_hs_server_url)
70
73
You can’t perform that action at this time.
0 commit comments