Avoid startup navigation overwriting the alarm screen
mainWhen an alarm triggers a cold start, your app's normal startup flow (splash screens, auth gates, onboarding) will still execute. If your startup logic performs navigation, it might land on the home screen and replace the alarm UI, making it appear as if the alarm never fired.
Best Practice: Use the consumed pendingAlarmId as an input to your initial routing decision. Instead of navigating to an alarm screen after startup, let the startup logic (like a splash screen controller) use the presence of an alarm ID to decide which route to load first.