All Projects → getheal → heal-healthkit-generator

getheal / heal-healthkit-generator

Licence: MIT license
Generate HealthKit sample data for the iOS simulator

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to heal-healthkit-generator

HealthKitReporter
HealthKitReporter. A wrapper for HealthKit framework. Helps to write or read data from Apple Health via HealthKit framework.
Stars: ✭ 50 (+177.78%)
Mutual labels:  healthkit
Mining-Minds
Mining Minds is a collection of services, tools and techniques working collaboratively to investigate on human’s daily routines to provide a personalized well-being and health-care support
Stars: ✭ 43 (+138.89%)
Mutual labels:  healthkit
health kit reporter
A Flutter wrapper for the HealthKitReporter library
Stars: ✭ 16 (-11.11%)
Mutual labels:  healthkit
react-native-health
A React Native package to interact with Apple HealthKit
Stars: ✭ 348 (+1833.33%)
Mutual labels:  healthkit
healthkit-to-sqlite
Convert an Apple Healthkit export zip to a SQLite database
Stars: ✭ 130 (+622.22%)
Mutual labels:  healthkit
rn-fitness-tracker
React Native module to interact with Google Fit and Apple HealthKit.
Stars: ✭ 58 (+222.22%)
Mutual labels:  healthkit

Heal HealthKit Sample Data Generator

This is a small project for generating sample data within HealthKit on an iOS Simulator.

Setup

  1. Run pod install and open the created workspace
  2. Inside ViewController.swift, set sampleData.sampleTypes to the Set of sample types that you would like to generate random data for. The project includes an HKOBjectTypes file which contains a Set of all sharable HealthKit sample types.
  3. Inside ViewController.swift, set sampleData.writeDataSince to the length of time would like to generate data for.
  4. Run the project, allow the app permission for all sample types and the app will begin populating HealthKit

To clear all HealthKit data, erase and restart the simulator.

Please note that this generator uses random numbers from 1 - 100. The data WILL look weird in HealthKit. We're hoping to implmement sensible ranges for each quantity type in the future.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].