Adding changes to allow the Burguillos Chat to work.

This commit is contained in:
Sergiotarxz 2024-04-13 20:35:09 +02:00
parent 0af63fb9ef
commit fa9a1e77ab
5 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,11 @@ android {
applicationIdSuffix = ".think";
versionNameSuffix = "-think"
}
create("lilith") {
manifestPlaceholders["host"] = "192.168.1.33"
applicationIdSuffix = ".lilith";
versionNameSuffix = "-lilith"
}
}
}

View File

@ -0,0 +1,4 @@
<resources>
<string name="baseUrl">http://192.168.1.33:3000</string>
<string name="app_name">Burguillos.info (Lilith)</string>
</resources>

View File

@ -275,6 +275,7 @@ public class MainActivity extends AppCompatActivity {
webView.loadUrl(url);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setDomStorageEnabled(true);
if (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE)) {
webView.setWebContentsDebuggingEnabled(true);
}