From bcc4926161fe1d9f1d7d6ab50182b82ce9846146 Mon Sep 17 00:00:00 2001 From: MrPiglr Date: Wed, 11 Feb 2026 22:33:09 -0700 Subject: [PATCH] fix(webview): hardcode magenta debug background to diagnose load failure --- .../main/java/com/aethex/os/MainActivity.java | 7 +- client/index.html | 11 +- dist/public/index.html | 129 ++++++++++++++++++ 3 files changed, 145 insertions(+), 2 deletions(-) create mode 100644 dist/public/index.html diff --git a/android/app/src/main/java/com/aethex/os/MainActivity.java b/android/app/src/main/java/com/aethex/os/MainActivity.java index 63634b1..dd07a1f 100644 --- a/android/app/src/main/java/com/aethex/os/MainActivity.java +++ b/android/app/src/main/java/com/aethex/os/MainActivity.java @@ -65,6 +65,11 @@ public class MainActivity extends BridgeActivity { webView.clearHistory(); // Force load our local test file - webView.loadUrl("file:///android_asset/public/test.html"); + // webView.loadUrl("file:///android_asset/public/test.html"); + + // 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.html"); } } diff --git a/client/index.html b/client/index.html index efb5f78..c0a0b92 100644 --- a/client/index.html +++ b/client/index.html @@ -95,8 +95,17 @@ .safe-area-inset-left { padding-left: var(--safe-area-inset-left) !important; } .safe-area-inset-right { padding-right: var(--safe-area-inset-right) !important; } /* Disable pull-to-refresh on body */ - body { overscroll-behavior-y: contain; } + body { + overscroll-behavior-y: contain; + background-color: #FF00FF; /* MAGENTA DEBUG */ + } +
diff --git a/dist/public/index.html b/dist/public/index.html new file mode 100644 index 0000000..369b574 --- /dev/null +++ b/dist/public/index.html @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + AeThex OS - Operating System for the Metaverse + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +