Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HealthKitReader.swift #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sangle1996
Copy link

Add anchor to storage for HKQueryAnchor

Status

READY/IN DEVELOPMENT/HOLD

Migrations

YES | NO

Description

A few sentences describing the overall goals of the pull request's commits.

Related PRs

List related PRs against other branches:

branch PR
other_pr_production link
other_pr_master link
Todos
Tests
Documentation

Deploy Notes

Notes regarding deployment the contained body of work. These should note any db migrations, etc.

Steps to Test or Reproduce

Outline the steps to test or reproduce the PR here.

git pull --prune
git checkout <feature_branch>

Impacted Areas in Application

Small description about what will be changed in the app if this PR will be merged

List general components of the application that this PR will affect:

The direct changes inside the app made by this PR

Add anchor to storage for HKQueryAnchor
@kvs-coder
Copy link
Owner

Hi @sangle1996

thank you for your MR and please sorry I didn't look at it earlier...

TBH I wouldn't involve anything like UserDefault in this library, as it should be agnostic and it is integrator's responsibility to store anchors if they want and I would keep the HealthKitReader class stateless.

If you have an idea to make wrappers for the anchors following up the code style in the project you are more than welcome! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants