2022 June Updates

Check out what we've been doing at Terra over the month of June!

Backend 💾


New Integrations

  • Added integration with Renpho

New Features

  • Added POST nutrition endpoint. Only implemented for Fitbit at the current time.
  • Added support for the nutrition endpoint to the Google Fit REST API integration

Improvements

  • Completely rewrite the Garmin payload handler system to improve performance, maintainability, and query-ability
  • Completely rewrite the Polar daily data handler system to prevent extreme ratelimiting which was causing some users to never have data sent
  • Minor database optimisations to prevent various endpoints timing out prematurely
  • Changed authentication success/failure webhooks to run syncronously before being sent to the queue if a retry is necessary to prevent delays due to queue backlog

Bugfixes

  • Minor fixes for authentication redirect URLs not being processed correctly under certain conditions
  • Fixed some fields not being correctly populated for the data generator
  • Fixed Garmin activity end time sometimes being before the end of the activity if it was paused at any point during the workout
  • Fixed Cronometer data sometimes not being sent as scheduled
  • Fix sensor activation time for freestyle libre being normalised incorrectly
  • Fix payload upload to s3 system sending webhooks with an incorrect HMAC signature header
  • Fix small normalisation bugs with various providers
  • Improve various webhook handlers which would sometimes not send data to all applicable users
  • Fix incorrect time normalisation for Fitbit causing the wrong timezones to be set

SDK 📱


  • Add ability to get data from Freestyle Libre Pro sensors using NFC
  • Add ability to activate Freestyle Libre 2 sensors over NFC
  • Added ability to use single-use authentication tokens when creating new SDK users in order to prevent your API key from being exposed
  • Background scheduler tasks have been added to ensure that no data will be missed even when the app has not been opened for longer than a day
  • Custom read and write permissions for Apple Health
  • Add facilities for the uploading of nutrition data to Apple Health
  • Mindfulness Data added

  • New iOS SDK that streams data in real time through our Websocket API
  • BLE Connection to heart rate monitor straps including Polar, Wahoo and more
  • BLE support for Xiaomi bands to allow streaming of heart rate, calories, steps, and distance
  • Bluetooth connection widget provided for easy BLE connection

  • Add ability to get data from Freestyle Libre Pro sensors using NFC
  • Add ability to activate Freestyle Libre 2 sensors over NFC
  • Added ability to use single-use authentication tokens when creating new SDK users in order to prevent your API key from being exposed
  • A Service class is used for the data scheduler to ensure the app can still send data even when not in the foreground.
  • Package distributed to the Maven central repository to improve ease of installation

  • BLE support for Xiaomi bands to allow streaming of heart rate, calories, steps, and distance
  • Bluetooth Connection Widget provided for easy BLE connection

  • Flutter support for iOS and Android using TerraiOS and TerraAndroid
  • Installation through flutter pub from a single command