Skip to content

Releases: JohanDegraeve/xdripswift

minor changes

06 May 21:16
Compare
Choose a tag to compare
  • fix Watch complication chart rendering when the watchface has a colour scheme applied
  • fix Xcode build that prevented the Widget extension from being automatically installed with the main app
  • 40mm watch text size updated for instructions on how to enable data
  • added missing translation string for ES

many changes

04 May 17:29
Compare
Choose a tag to compare
  • background refresh implemented for Watch complications and app (IMPORTANT: complication data will never be real-time, all of the time)
  • watch complication data is now disabled by default. Can only be enabled by going to the iOS app Settings -> Apple Watch and agreeing that the values will not always be real-time and should not be used for treatment decisions
  • new "Contact Image" feature to automatically create and update a contact (with the app name) and a profile photo showing the current BG value and trend. If the contact image is disabled, the contact is automatically removed from Contacts. Add to the Apple Watch as a Contact complication and choose the app name. [@yurique, @callms]
  • Siri integration to show BG and glucose chart when Siri is asked "What is my blood glucose". Add by going to the Shortcuts app on the iPhone, choose to add the app and add a phrase that you'd like to use. Several Siri Shortcuts can be added with different phrases as needed. [@gshaviv]
  • changes to Live Activity views to make it clearer when BG is not current and also to unify colours across the new widgets
    log/tracing updates/corrections
  • Watch app, Watch Complications and new Settings strings are localised into EN, NL, ES, DE and FR
  • Developer Settings are now hidden by default. Enabling them will show them temporarily to allow adjustments.
  • the legacy chart y-axis of 50, 100, 150, 200 etc is now removed from the app. Y-axis objective values is now always used.
  • some settings are removed from Settings to declutter. "Show Target" is now removed and showing the target line can be enabled by entering a BG value in "Target" or disabled by entering "0". The UI is updated to will reflect this.
  • placeholder data is now added to all widgets and complications to show what the chart will actually look like when selecting them (previously just showed a single glucose reading
  • Data Management section removed from Settings as it doesn't currently really do much without a data import function. (Only commented out in view controller, can be re-added easily)
  • Settings screen is updated with icons for each section to try and help users navigate more quickly

Minor fixes

03 Apr 06:55
Compare
Choose a tag to compare
  • add keep alive icon to iOS widgets for follower modes
  • fix browser build (package.resolved issue)
  • complication widget scaling for 40mm watch

Bug fixes

31 Mar 14:07
Compare
Choose a tag to compare
  • watch app/complications should now correctly scale for 40mm watches
  • changes to the way we write to userdefaults when performing NightscoutSyncRequired to try and minimise crashes due to memory access exceptions. This was especially noticeable when background keep-alive was enabled and new downloads were scheduled
  • “Libre 3 Heartbeat" descriptions changed to show "Libre Heartbeat" (no internal changes)
  • instructions are now added to the heartbeat screen, specific for the type of heartbeat being added
  • changes to live activities to limit payload size to <4Kb and prevent issues for Libre 2 Direct users. (@stami) various small bug fixes

Version increase to 5.1.3

27 Mar 13:19
Compare
Choose a tag to compare

version increase was forgotten, no code change

Fix Browser Build for v5.1

24 Mar 21:24
490a6cf
Compare
Choose a tag to compare
Merge pull request #512 from dnzxy/extend-fastfile

Fix Browser Build for v5.1

Bump node version for github action workflows

24 Mar 19:07
8410f68
Compare
Choose a tag to compare
Merge pull request #511 from dnzxy/bump-node

Bump node version for github action workflows

Live Activities, new Watch App, new Widgets

24 Mar 14:57
Compare
Choose a tag to compare

REQUISITES:

  • the minimum required iOS version is now 16.2 (Apple iPhone 8/SE 2nd gen and later)
  • the minimum required WatchOS version is 10.0 (Apple Watch Series 4/SE and later)

FEATURES/FIXES:

  • live activities added. Can select if they will be always running, or only when low/high or urgent low/high etc #446
  • live activity sizes can be chosen between minimal, normal and large
  • the app will restart the live activity after four hours when the app is brought to the foreground
  • user will be asked to open the app to prevent the live activity from expiring when approaching 8 hours in the background
  • widgets added for all available system widget types to add xDrip4iOS glucose charts and data to the home screen
  • the old Today style widget has been completely removed and replaced
  • Dexcom battery drain in direct connection should now be fixed #494
  • new Watch app added including glucose chart, sensor progress and data source information
  • Watch chart can be zoomed in/out by swiping left/right
  • force-fetch can be performed by double-tapping the glucose value on the top-left
  • debug overlay can be shown/hidden by quickly tapping the glucose chart five times
  • Watch app scales most content for small/large Watches
  • watch complications added for all available types
  • heartbeat option added to bluetooth devices screen to allow an external bluetooth device to trigger follower downloads (for example adding a Libre 3 as a heartbeat to trigger the download from LibreLinkUp)
  • the app will wait for a second after receiving the heartbeat before trying to download data from the follower data source (to allow readings to first be uploaded)
  • if a heartbeat is added, the user should select "Heartbeat" as the Follower Background Keep-alive option. This will use almost zero battery and reliably wake up the app without needing to use the standard "silent noise" background trick.
  • users can add a Libre 3, Dexcom G7, OmniPod or even a M5Stack as the heartbeat to wake the app up in the background
  • when adding a Libre heartbeat, just enter the first 4-5 digits of the device name (from iPhone settings -> Bluetooth) and hit scan
  • Libre 2 US/CA/AU should also be working fine as a heartbeat but has (very) limited testing
  • using a heartbeat as the follower background keep-alive will avoid CarPlay audio interruptions #498
  • home screen toolbar icons updated to share common style
  • many, many small fixes and changes

TODO:

  • add background refresh for watch widgets/complications
  • add native notifications for Watch app
  • add translations of new strings

quick fixes

27 Dec 22:14
Compare
Choose a tag to compare
  • fixed alarms were not correctly firing when using Nightscout follower mode in normal or aggressive keep-alive types
  • correctly remove from notification center pending missed readings notifications when changing follower keep-alive type to disabled

quick fixes

24 Dec 18:00
Compare
Choose a tag to compare
  • hotfix to quickly handle the update from 4.x to 5.x where the user has a Libre 2 BLE connected. It advises them to disconnect and reconnect the sensor. This will only need to be done once after updating to 5.x
  • improving handling for data source workflow
  • add user-defined TIR back but in a better way to avoid adding extra menu lines, use an enum to track the TIR type chosen and allow the user to just choose directly, or cycle through by double-tapping the statistics view
  • default target BG changed from 120 -> 100 mg/dL for main chart (will only affect new installations)