From 93b52ba1d94b3c6f25056bd1e422032c2e7dd098 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Thu, 14 May 2026 14:43:46 -0700 Subject: [PATCH] Allow enabling notifications in the simulator, for screenshot purposes --- app/account/tabs/schedule-tab.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/account/tabs/schedule-tab.tsx b/app/account/tabs/schedule-tab.tsx index 0fb9e18..bcc309b 100644 --- a/app/account/tabs/schedule-tab.tsx +++ b/app/account/tabs/schedule-tab.tsx @@ -208,8 +208,9 @@ export function ScheduleTab({ [{ text: "OK" }], ); } else if (result.error?.includes("simulator")) { - // Silently skip on simulator + // Silently allow on simulator so UI can be tested/screenshotted console.log("Push notifications not available in simulator"); + return true; } else if ( result.error?.includes("projectId") || result.error?.includes("FirebaseApp") ||