Skip to content

Commit

Permalink
Merge pull request #100 from timbielawski/master
Browse files Browse the repository at this point in the history
Set the user agent for web view
  • Loading branch information
auser authored Apr 6, 2017
2 parents c1fd721 + 36f0722 commit a43cca8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
mWebView.setVisibility(View.VISIBLE);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setDomStorageEnabled(true);
mWebView.getSettings().setUserAgentString("Mozilla/5.0 Google");


LayoutParams layoutParams = this.getFullscreenLayoutParams(context);
//new LayoutParams(
Expand Down

0 comments on commit a43cca8

Please sign in to comment.