← back to Homesonspec
snapshot before TK-10337 rejection debugging
6f64cefea5ea655e8d0908dd774bd1dcccc6e553 · 2026-09-03 13:40:54 -0700 · Steve
Files touched
M apps/mobile/app/(tabs)/_layout.tsxM apps/mobile/app/(tabs)/browse.tsxM apps/mobile/app/_layout.tsx
Diff
commit 6f64cefea5ea655e8d0908dd774bd1dcccc6e553
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Sep 3 13:40:54 2026 -0700
snapshot before TK-10337 rejection debugging
---
apps/mobile/app/(tabs)/_layout.tsx | 1 +
apps/mobile/app/(tabs)/browse.tsx | 13 +++++++++++--
apps/mobile/app/_layout.tsx | 7 ++++++-
3 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/apps/mobile/app/(tabs)/_layout.tsx b/apps/mobile/app/(tabs)/_layout.tsx
index c2b9ddbf..7b85c37e 100644
--- a/apps/mobile/app/(tabs)/_layout.tsx
+++ b/apps/mobile/app/(tabs)/_layout.tsx
@@ -14,6 +14,7 @@ const BRAND = '#1a3a6e';
const ACCENT = '#e07b39';
export default function TabLayout() {
+ console.log('HOS_DEBUG: TabLayout render');
return (
<Tabs
screenOptions={{
diff --git a/apps/mobile/app/(tabs)/browse.tsx b/apps/mobile/app/(tabs)/browse.tsx
index 69623dc1..9b7242f6 100644
--- a/apps/mobile/app/(tabs)/browse.tsx
+++ b/apps/mobile/app/(tabs)/browse.tsx
@@ -228,6 +228,7 @@ interface PageInfo {
}
export default function BrowseTab() {
+ console.log('HOS_DEBUG: BrowseTab render, WEB_BASE_URL=', WEB_BASE_URL);
const webViewRef = useRef<WebView>(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<string | null>(null);
@@ -298,13 +299,21 @@ export default function BrowseTab() {
ref={webViewRef}
source={{ uri: WEB_BASE_URL }}
style={styles.webview}
- onLoadStart={() => setLoading(true)}
- onLoadEnd={() => setLoading(false)}
+ onLoadStart={() => {
+ console.log('HOS_DEBUG: WebView onLoadStart');
+ setLoading(true);
+ }}
+ onLoadEnd={() => {
+ console.log('HOS_DEBUG: WebView onLoadEnd');
+ setLoading(false);
+ }}
onError={(e) => {
+ console.log('HOS_DEBUG: WebView onError', JSON.stringify(e.nativeEvent));
setLoading(false);
setError(e.nativeEvent.description);
}}
onHttpError={(e) => {
+ console.log('HOS_DEBUG: WebView onHttpError', e.nativeEvent.statusCode);
if (e.nativeEvent.statusCode >= 500) {
setError(`Server error ${e.nativeEvent.statusCode}`);
}
diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsx
index bfbfded9..cbf0e0b3 100644
--- a/apps/mobile/app/_layout.tsx
+++ b/apps/mobile/app/_layout.tsx
@@ -3,11 +3,16 @@ import { Stack } from 'expo-router';
import { StatusBar } from 'expo-status-bar';
import * as SplashScreen from 'expo-splash-screen';
+console.log('HOS_DEBUG: module _layout.tsx evaluated');
SplashScreen.preventAutoHideAsync();
export default function RootLayout() {
+ console.log('HOS_DEBUG: RootLayout render');
useEffect(() => {
- SplashScreen.hideAsync();
+ console.log('HOS_DEBUG: RootLayout useEffect - calling SplashScreen.hideAsync()');
+ SplashScreen.hideAsync()
+ .then(() => console.log('HOS_DEBUG: SplashScreen.hideAsync() resolved'))
+ .catch((e) => console.log('HOS_DEBUG: SplashScreen.hideAsync() REJECTED', e));
}, []);
return (
← 9e884ed1 HoS mobile: block GTM/GA4/Facebook trackers in Browse WebVie
·
back to Homesonspec
·
auto-data-snapshot: 2026-09-03T13:47:49 (2 data files) — app 3a545346 →