Skip to content

Commit 36f0722

Browse files
committed
Set the user agent for web view
1 parent c1fd721 commit 36f0722

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

android/src/main/java/io/fullstack/oauth/OAuthManagerDialogFragment.java

+2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
9595
mWebView.setVisibility(View.VISIBLE);
9696
mWebView.getSettings().setJavaScriptEnabled(true);
9797
mWebView.getSettings().setDomStorageEnabled(true);
98+
mWebView.getSettings().setUserAgentString("Mozilla/5.0 Google");
99+
98100

99101
LayoutParams layoutParams = this.getFullscreenLayoutParams(context);
100102
//new LayoutParams(

0 commit comments

Comments
 (0)