Skip to content

Commit

Permalink
set webview domain with hostname preference like ios
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasMerz committed Dec 3, 2020
1 parent bfff2a4 commit 90750b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public SystemWebViewClient(SystemWebViewEngine parentEngine) {
this.parentEngine = parentEngine;

WebViewAssetLoader.Builder assetLoaderBuilder = new WebViewAssetLoader.Builder()
.setDomain("localhost")
.setDomain(parentEngine.preferences.getString("hostname", "localhost"))
.setHttpAllowed(true);


Expand Down

0 comments on commit 90750b2

Please sign in to comment.