Adding changes to allow the Burguillos Chat to work.
This commit is contained in:
parent
0af63fb9ef
commit
fa9a1e77ab
|
@ -54,6 +54,11 @@ android {
|
||||||
applicationIdSuffix = ".think";
|
applicationIdSuffix = ".think";
|
||||||
versionNameSuffix = "-think"
|
versionNameSuffix = "-think"
|
||||||
}
|
}
|
||||||
|
create("lilith") {
|
||||||
|
manifestPlaceholders["host"] = "192.168.1.33"
|
||||||
|
applicationIdSuffix = ".lilith";
|
||||||
|
versionNameSuffix = "-lilith"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
||||||
|
<resources>
|
||||||
|
<string name="baseUrl">http://192.168.1.33:3000</string>
|
||||||
|
<string name="app_name">Burguillos.info (Lilith)</string>
|
||||||
|
</resources>
|
|
@ -275,6 +275,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
webView.loadUrl(url);
|
webView.loadUrl(url);
|
||||||
webView.getSettings().setJavaScriptEnabled(true);
|
webView.getSettings().setJavaScriptEnabled(true);
|
||||||
|
webView.getSettings().setDomStorageEnabled(true);
|
||||||
if (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE)) {
|
if (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE)) {
|
||||||
webView.setWebContentsDebuggingEnabled(true);
|
webView.setWebContentsDebuggingEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue