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";
|
||||
versionNameSuffix = "-think"
|
||||
}
|
||||
create("lilith") {
|
||||
manifestPlaceholders["host"] = "192.168.1.33"
|
||||
applicationIdSuffix = ".lilith";
|
||||
versionNameSuffix = "-lilith"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
4
app/src/lilith/res/values/destination.xml
Normal file
4
app/src/lilith/res/values/destination.xml
Normal 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>
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user