Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit a313527

Browse files
committed
Merge branch 'release/0.9.6'
2 parents f04ca01 + 81e3b53 commit a313527

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
Changes in Riot 0.9.5 (2019-09-10)
28
===================================================
39

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ buildscript {
2323

2424
// global properties used in sub modules
2525
ext {
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
}

vector/src/main/java/im/vector/activity/FallbackAuthenticationActivity.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)