fix(webview): use test_complex.html to isolate specific tag causing failure

This commit is contained in:
MrPiglr 2026-02-11 23:08:31 -07:00
parent 537900cb71
commit 6b766207e4
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<title>Complex Test</title>
<style>
body {
background-color: blue;
color: white;
}
</style>
<script>
console.log('Complex Test Loaded');
</script>
</head>
<body>
<h1>COMPLEX TEST LOADED (Blue)</h1>
<script>
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/index_nomodule.html");
webView.loadUrl("file:///android_asset/public/test_complex.html");
}
}