Coder Social home page Coder Social logo

Comments (3)

kvs-coder avatar kvs-coder commented on July 17, 2024

Hi @RahulShivkumar

Yes, I am working on it

from health_kit_reporter.

RahulShivkumar avatar RahulShivkumar commented on July 17, 2024

Thanks, @VictorKachalov! Let me know if I can help in any way.

Another question in observerQuery is it safe to send HTTP queries (say I wanted to send this updated data to my server) or will the handler usually timeout? Apple doesn't seem to have a lot of documentation around the completionHandler for observerQuery

from health_kit_reporter.

kvs-coder avatar kvs-coder commented on July 17, 2024

Hi @RahulShivkumar

About sleep analysis please review the library carefully, they are Category types, which were supported in initial versions. So technically HKCategoryTypeIdentifier.sleepAnalysis was initially in the package. Please use sample app. Probably you would be need to extend the dates in the predicate in order to fetch earlier samples.

The observer query itself is just a notifier from Apple Health meaning that smth was changed in the data bank. You can add your custom logic in completeion handlers which I provide

static StreamSubscription<dynamic> observerQuery

You can send http requests with your network layer, you can fetch the data from Health Kit using other pacakge functions, etc.

from health_kit_reporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.