Skip to content

Remote Overrides Not Working in Dev #1536

@gestrich

Description

@gestrich

Describe the bug

Remote overrides do not work in dev. The device token is not being consistently uploaded to Nightscout leading to overrides failing.

To Reproduce

  1. Fresh install of Loop dev branch.
  2. Enter Nightscout credentials during onboarding.
  3. Agree to iOS prompt to allow notifications at end of onboarding.
  4. Add a few overrides to Loop and enact one of these overrides locally.
  5. Go on Nightscout and attempt to enact another override. An error "Could no find deviceToken in loopSettings".

Expected behavior

It is expected that you can enact overrides from Nightscout after agreeing to the prompt.

Phone

  • Hardware: iPhone XS
  • OS Version: 14.7.1

Loop Version

  • Dev - latest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions