From 4b239e7faf6653a40943f9eb47065f08654bd946 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Tue, 11 Nov 2025 20:06:20 -0800 Subject: [PATCH] fix(ios): add Capacitor script tags to index.html Added missing Capacitor runtime scripts required for plugin access: Script Tags: - Added capacitor.js (main Capacitor runtime) - Added capacitor_plugins.js (plugin definitions) - Added initialization script to wait for Capacitor ready Initialization: - Waits for DOMContentLoaded event - Polls for Capacitor.Plugins.DailyNotification availability - Sets window.DailyNotification when ready Fixes: - Black screen issue: app was loading but Capacitor wasn't initialized - Plugin access errors: window.Capacitor was undefined - JavaScript errors preventing page rendering Result: App should now display the test interface correctly --- .../ios-test-app/App/App/public/index.html | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) 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 c788751..a76cc15 100644 --- a/test-apps/ios-test-app/App/App/public/index.html +++ b/test-apps/ios-test-app/App/App/public/index.html @@ -571,5 +571,32 @@ showReminder: typeof window.showReminder }); + + + + + +