【发布时间】:2019-06-22 02:09:13
【问题描述】:
无法从 webview 通过 google 登录
我正在使用 react-native-webview 并尝试从 webview 通过 google 登录
错误:disallowed_useragent
从 firebase web 实现 google 登录
<WebView style={styles.WebViewStyle}
userAgent={DeviceInfo.getUserAgent()}
automaticallyAdjustContentInsets={false}
source={{ uri: 'MY_URL' }}
onLoad={() => this.hideSpinner()} />
【问题讨论】:
标签: firebase react-native webview google-signin