【问题标题】:[Android]After the google chrome update, the chrome custom tab is auto behind the background[Android]谷歌浏览器更新后,chrome自定义标签在后台自动切换
【发布时间】:2017-02-01 23:55:27
【问题描述】:
OAuth2 身份验证后,我需要重定向到我的自定义方案(我的应用程序)。
我之前所做的就是关注previous solution
但是在android中更新chrome浏览器后问题又出现了。
我问我的朋友谁不更新 android chrome,它工作正常,所以他正在使用我的应用程序。
有没有人遇到同样的问题? chrome 4.2 版本 53.0.278.124) 有什么问题?
【问题讨论】:
标签:
android
oauth2
fitbit
chrome-custom-tabs
【解决方案1】:
经过我的调查,我将 launchemode 更改为 singleinstnace 并且它可以工作。
<activity android:name=".MainActivity"
android:theme="@style/AppTheme"
android:screenOrientation="portrait"
android:launchMode="singleInstance">