fix(webview): try minimal test case to reproduce success

This commit is contained in:
MrPiglr 2026-02-12 13:08:47 -07:00
parent 36f1e9ec8b
commit 054231bb75
2 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Test Basic</title>
<style>
body {
background-color: blue;
color: white;
font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
</style>
</head>
<body>
<div>
<h1>TEST BASIC LOADED (Blue)</h1>
<p>No comments in script.</p>
</div>
<script>
console.log("Test Basic loaded");
document.body.style.backgroundColor = "blue";
</script>
</body>
</html>

View file

@ -70,6 +70,6 @@ public class MainActivity extends BridgeActivity {
// SWITCH TO REAL APP
// Using "file:///android_asset/public/" base path which matches the physical structure
// AND ensuring we load index.html
webView.loadUrl("file:///android_asset/public/test_body_single.html");
webView.loadUrl("file:///android_asset/public/test_basic.html");
}
}