Describe the bug
If the flow from Pair Pod to Priming to Continue screens is interrupted, for example by Loop crashing, and user resumes Loop and attempts to Finish Pairing, they are taken to the Insert Cannula screen even if the priming is still in progress.
To Reproduce
Steps to reproduce the behavior:
- Use rPi DASH simulator
- Pair new pod and then return to main loop screen while priming is in progress
- Edited to add - this was from a quit Loop app and restart
- Next comment has more steps with detailed behavior
- Tap the Finish Pairing icon
- User is taken to the Insert Cannula screen and if priming/initialization has not completed, they are given an error message that may lead them to think there is something wrong with the pod.
Graphic shows screen when priming is in progress (and pod is fine).

Solutions
- We could add more words to the screen to indicate if pod is still priming (clicking) please wait - takes about a minute for priming to complete.
- Modify the .deactivate actions in {DASH/Omnipod}UICoordinator.swift to modify state.
For example, if I add the line:
self.pumpManager.podAttachmentConfirmed = false
to the DASH controller just before return hostedView in the case .deactivate section, then I return to the Attach Pod screen first (instead of the Insert Cannula screen. But it still doesn't check if pod is still priming.
Is there some other state parameter that could or should be set when deactivating?
Describe the bug
If the flow from Pair Pod to Priming to Continue screens is interrupted, for example by Loop crashing, and user resumes Loop and attempts to Finish Pairing, they are taken to the Insert Cannula screen even if the priming is still in progress.
To Reproduce
Steps to reproduce the behavior:
Graphic shows screen when priming is in progress (and pod is fine).

Solutions
For example, if I add the line:
to the DASH controller just before
return hostedViewin thecase .deactivatesection, then I return to theAttach Podscreen first (instead of theInsert Cannulascreen. But it still doesn't check if pod is still priming.Is there some other state parameter that could or should be set when deactivating?