Spike iOS SDK Changelog
4.3.111
- Removed providerUserIdentifierfromIntegrationInitConfig
- Added ability to read minfulness activities:
- Added new ActivityTagtypes:- mindfulness
 
- Added new ActivityTypetypes:- ecgMeasurement
- triathlon
- biathlon
- duathlon
- rollerblading
- skateboarding
- skating
- calisthenics
- weightLifting
- canoeing
- floorball
- jiuJitsu
- diving
- orienteering
- bootcamp
- motorsports
- horseriding
- paragliding
- multisport
- bloodTest
- mindfulnessSession
 
- Added new ProviderSourcetypes:- appleHealthkitMindfulness
- healthConnectMindfulnessSession
 
- Added new ActivityCategorytype:- mindfulness
 
- Added new MetricType:- heartrateRestingMin
- heartrateRestingMax
- cadence
- cadenceMin
- cadenceMax
- pace
- airTemperature
- bodyTemperatureMax
- bodyTemperatureMin
- basalBodyTemperature
- basalBodyTemperatureMax
- basalBodyTemperatureMin
- skinTemperatureMax
- skinTemperatureMin
- sleepSkinTemperatureDeviation
 
- Added new StatisticsType:- sleepSkinTemperatureDeviation
- hrvRmssd
- hrvSdnn
 
- Fixed typo in metric type: swimmingLengths(was incorrectly spelled asswimming_lenghts)
4.3.101
- Improved how sleep data is read for sleep score
4.3.91
- Added .corosProvider
- Updated ProviderSourceenum
- Improved the way data is sent to API to reduce the size and speed of calls to Spike
- Added new Statistic types:
- stressScore
- recoveryScore
- activityScore
 
- Added new Metric types for getSleeprequest:- sleepDuration
- sleepDurationAwake
- sleepDurationDeep
- sleepDurationLight
- sleepDurationNap
- sleepDurationRem
- sleepEfficiency
- sleepInterruptions
- sleepLatency
- sleepScore
 
- Better keychain compatibility
NOTE: If you use the keychain in your app with a service name equal to your bundle
identifier, please check if it contains key named spikeApiTokenand delete it.
4.3.81
- Added MetricType:.glucose
4.3.71
- The old SpikeSDK API has been deprecated
- Added disableHealthKitIntegrationandisHealthKitIntegrationEnabledfunctions in spike connection
4.3.61
- Added .distanceSwimming into the list of metrics available in activities
- New providers added: .dexcom, .freestyleLibre, .huawei, .strava
4.3.51
- Added new Provider:- samsungHealthData
 
- Added new ProviderSource:- samsungHealthDataAggregation
 
- Renamed MetricTypes:- sleepBreathingRateto- breathingRate
- sleepBreathingRateMinto- breathingRateMin
- sleepBreathingRateMaxto- breathingRateMax
 
4.3.41
- IntegrationInitConfig is now codable
- Additional check in getIntegrationInitUrlfor email in ultrahuman integration
4.3.31
- New metric types:
- bodyFat
- bodyFatMax
- bodyFatMin
- bodyBoneMass
- bodyMassIndex
- bloodPressureSystolic
- bloodPressureSystolicMax
- bloodPressureSystolicMin
- bloodPressureDiastolic
- bloodPressureDiastolicMax
- bloodPressureDiastolicMin
 
- New fields in UserProperties:- bodyBoneMass
- bodyFat
- bodyMassIndex
 
- Updated getIntegrationInitUrl. Now it acceptsIntegrationInitConfigconfig object where you can pass:- redirectUri: will override the one set in admin console
- state: when the authorization server redirects back to the client, it includes the- statevalue originally sent
- providerUserIdentifier: at the moment used (and required) only when integrating with ultrahuman
 
- New provider: ultrahumanWhen integrating with Ultrahuman, you have to provide ultrahuman user email inIntegrationInitConfig.providerUserIdentifier. Example:
- Improved transport protocol for background delivery
4.3.21
- Improve how statistics are read from HealthKit
4.3.11
- Improved transport protocol for even faster requests to Spike API
- New statistics: heartrate, heartrateMax, heartrateMin, heartrateResting
4.2.31
- Added sleepScore property in Record type
- New metrics:
- spo2
- bodyTemperature
- skinTemperature (available only on getSleep())
- sleepBreathingRate (available only on getSleep())
- sleepBreathingRateMin (available only on getSleep())
- sleepBreathingRateMax (available only on getSleep())
- sleepBreathingRateAvg (available only on getSleep())
 
4.2.21
- New getUserPropertiesmethod for reading: weight, height, timezone, birth date, gender
- New metric: VO2max (Cardio Fitness)
- New statistic: sleep score
Version 4.2.11
🔴 Breaking Change: Update to Spike.createConnectionAPIv3
The method Spike.createConnectionAPIv3(appId:, authToken:, customerEndUserId:) has been updated to:
Spike.createConnectionAPIv3(applicationId:, signature:, endUserId:)
Key Changes:
- The applicationIdparameter must now be provided as anInt.
- The signatureparameter now requires anHMAC-SHA256signed user ID.
- ⚠️ Security Notice:
- Do not store your HMAC signing key within the application itself, as this poses a security risk.
- Instead, generate and provide the signature from your backend.
 
Legacy Support:
For development purposes only, the previous connection flow remains available under the renamed method:Spike.createConnectionAPIv3_legacy(appId:, authToken:, customerEndUserId:)
Version 4.1.11
- Add background delivery
- Add log callback
- Send more sleep data
Version 4.0.11
Completely new SDK! Please see our official documentation for more details and usage instructions.Version 2.4.5
- Fixed cache issue in release process
Version 2.4.4
- Revert version 2.4.3
- Read more distance fields in workout object from HealthKit.
Version 2.4.3
- Add 3rd party integration initialization.
- Read more distance fields in workout object from HealthKit.
Version 2.4.2
- Add customer user id validation.
Version 2.4.1
- Fix timezone in case it changes while the app is running.
Version 2.4.0
- Better way to authenticate with API.
- Add ECG.
Version 2.3.2
- Add trigger property to extractAndPostData request.
Version 2.3.1
- Add cycling parameters to Activities stream data request.
Version 2.3.0
- Remove environment configuration.
Version 2.2.3
- Add prop provider_timestamp to Activities summary model.
Version 2.2.2
- Include intraday entries of Steps intraday data type for range requests.
Version 2.2.1
- Handle Steps intraday entries metadata object.
Version 2.2.0
- SpikeData wrapper model aligned with server.
Version 2.1.14
- Fix date range parsing.
Version 2.1.13
- Step intraday data improvements.
Version 2.1.12
- Step intraday data improvements.
Version 2.1.11
- Expose isHealthDataAvailable method.
Version 2.1.10
- Use iso8601 standardized Calendar.
