nightscout / Trio

MIT License
45 stars 125 forks source link

Merge dev into feat/dana #291

Closed bjornoleh closed 3 weeks ago

bjornoleh commented 3 weeks ago

This merge of the dev branch into feat/dana brings a breaking change for backwards compatibility:

You cannot revert from this without losing a paired pod!

PR #277 "Port over pump loss fix via https://github.com/LoopKit/Loop/pull/1702" changes the storage of pump connection details from "UserDefaults" to binary plist files stored in the documents directory of the app. This is ported from Loop, and is an attempt to avoid a bug where the connection to a paired pod could be lost unexpectedly.

After having connected a pod with this version of the app, it is not possible to transfer the pod to an older version of the app, the connection to pod will be lost. It should be possible to recover by rebuilding a version that includes https://github.com/nightscout/Trio/commit/8a682e3f210651493629d49fa2724258f81eb0f5, this should bring the connected pod back.