mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:07:20 +00:00
fix(webview): use test_complex.html to isolate specific tag causing failure
This commit is contained in:
parent
537900cb71
commit
6b766207e4
2 changed files with 24 additions and 1 deletions
23
android/app/src/main/assets/public/test_complex.html
Normal file
23
android/app/src/main/assets/public/test_complex.html
Normal 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>
|
||||
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue