Skip to content

Add error message when no device authentication has been set up#518

Merged
marionbarker merged 2 commits intoloopandlearn:devfrom
codebymini:no-passcode-no-bolus
Feb 25, 2026
Merged

Add error message when no device authentication has been set up#518
marionbarker merged 2 commits intoloopandlearn:devfrom
codebymini:no-passcode-no-bolus

Conversation

@codebymini
Copy link
Collaborator

@codebymini codebymini commented Feb 12, 2026

Improves device authentication error handling for remote bolus and meal actions by surfacing a clear, actionable message when authentication is unavailable (for example, no passcode/biometric setup).

@codebymini
Copy link
Collaborator Author

Ran test on a new device where biometrics (TouchID) had not been setup. Remove the passcode and tried to send a bolus to Loop. Got error message that I need to setup (atleast) passcode to use remote bolus

Copy link
Collaborator

@marionbarker marionbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by test.

@marionbarker
Copy link
Collaborator

marionbarker commented Feb 25, 2026

Test

Built Loop main (4.6.0)

removed passcode from device

  • tested that I could send remote carb, it appeared in loop and real-time response returned
  • tested that when I attempt to send a bolus, nothing happens

build using the code in this PR

  • tested that I could send remote carb, it appeared in loop but no real-time response so I think this branch is missing that feature
  • tested that when I attempt to send a bolus, clear error message received
IMG_0260

@marionbarker marionbarker merged commit f98fa45 into loopandlearn:dev Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants