diff --git a/test-apps/ios-test-app/App/App/public/index.html b/test-apps/ios-test-app/App/App/public/index.html index b5b7e68..a3f9ab4 100644 --- a/test-apps/ios-test-app/App/App/public/index.html +++ b/test-apps/ios-test-app/App/App/public/index.html @@ -83,6 +83,18 @@ console.log('Script loading...'); console.log('JavaScript is working!'); + // Show immediate feedback that HTML is loading + document.addEventListener('DOMContentLoaded', function() { + console.log('DOM Content Loaded!'); + const body = document.body; + if (body) { + body.style.backgroundColor = '#667eea'; + console.log('Body element found, background color set'); + } else { + console.error('Body element not found!'); + } + }); + // DailyNotification will be set after Capacitor loads (see initialization script at end) // Define functions immediately and attach to window