{"action":"opened","issue":{"url":"https://api.github.com/repos/dariosalvi78/cordova-plugin-health/issues/68","repository_url":"https://api.github.com/repos/dariosalvi78/cordova-plugin-health","labels_url":"https://api.github.com/repos/dariosalvi78/cordova-plugin-health/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/dariosalvi78/cordova-plugin-health/issues/68/comments","events_url":"https://api.github.com/repos/dariosalvi78/cordova-plugin-health/issues/68/events","html_url":"https://github.com/dariosalvi78/cordova-plugin-health/issues/68","id":244295898,"number":68,"title":"GoogleFit steps/sleep results not usable","user":{"login":"blurry-code","id":18675822,"avatar_url":"https://avatars0.githubusercontent.com/u/18675822?v=4","gravatar_id":"","url":"https://api.github.com/users/blurry-code","html_url":"https://github.com/blurry-code","followers_url":"https://api.github.com/users/blurry-code/followers","following_url":"https://api.github.com/users/blurry-code/following{/other_user}","gists_url":"https://api.github.com/users/blurry-code/gists{/gist_id}","starred_url":"https://api.github.com/users/blurry-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blurry-code/subscriptions","organizations_url":"https://api.github.com/users/blurry-code/orgs","repos_url":"https://api.github.com/users/blurry-code/repos","events_url":"https://api.github.com/users/blurry-code/events{/privacy}","received_events_url":"https://api.github.com/users/blurry-code/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-20T09:16:54Z","updated_at":"2017-07-20T09:16:54Z","closed_at":null,"body":"Hi, I'm trying to send following data from my app to GoogleFit: \r\n- steps\r\n- distance\r\n- calories\r\n- heart rate\r\n- sleep (sleep.deep, sleep.light, sleep.awake)\r\n\r\nLooking mainly at steps and sleep both seem to get distorted. The sleep never matches what I actually send in. For instance 8h30m become 7h. While I could live with differences there (within a reasonable range) the errors on the steps are not usable. There it seems to discard any steps before 6am. But even if I subtract the steps in that time from what Google Fit shows it doesn't work. There are differences of up to 100 Steps.\r\n\r\nNow I have no idea if this is an error within my code, within this plugin or if GoogleFit just messes with my data. Anybody else have problems like that?\r\nMy favored solution was to send total steps instead of incremented values, but this is not supported with the plugin, is it? "}}
{"actor":{"display_login":"blurry-code"}}