Repository navigation
Show Loop APNS environment as info instead of a toggle - #776
Merged
Merged
Conversation
The environment is read from the isAPNSProduction value that Loop uploads to the Nightscout profile, so the manual Production toggle is removed from the Loop APNS settings. The current environment is shown under Debug / Info, the same as for Trio.
Member
Author
|
Why this is safe for people whose Loop doesn't upload LoopFollow only writes the APNS environment when the profile contains
|
marionbarker
approved these changes
Oct 16, 2026
marionbarker
left a comment
Collaborator
There was a problem hiding this comment.
Approved by test and explanation about older versions in the comment.
kristinkand
added a commit
to kristinkand/LoopFollow
that referenced
this pull request
Oct 17, 2026
Brings in the larger Snoozer text (loopandlearn#749), the APNS environment shown as info (loopandlearn#776), and the final narrow-screen Live Activity fix (loopandlearn#775). Integration already had loopandlearn#757, loopandlearn#764, loopandlearn#769 and remote meal edit/delete; for loopandlearn#762 it keeps its own range-mode thresholds and the dynamic Live Activity colors. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LgnnHLJbhxmQaEjQNYR5VZ
Collaborator
Update Needed for next-devI tested this PR for Trio and Loop released code and it worked as expected. I asked @bjorkert to determine the issue. He opened a PR to NightscoutService next-dev branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Loop now uploads isAPNSProduction to the Nightscout profile, same as Trio, and LoopFollow already reads it from there. This removes the manual Production toggle from the Loop APNS settings and shows the current environment under Debug / Info instead, like it is for Trio. The hint in the 400 error message about flipping the toggle is removed too.
Requires a Loop build with LoopKit/NightscoutKit#1 and LoopKit/NightscoutService#25.