You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to retrieve the exact time when record gets added to the Health kit? I have been using the “querySampleType” method and passing the startDate and endDate parameters for quering Data from Health Kit plugin but when two records are added one after another in a short span of time, The start date returned by plugin is same for two records. This problem can be solved when seconds will be returned with minutes in start Date.
Is there any way to retrieve the exact time when record gets added to the Health kit? I have been using the “querySampleType” method and passing the startDate and endDate parameters for quering Data from Health Kit plugin but when two records are added one after another in a short span of time, The start date returned by plugin is same for two records. This problem can be solved when seconds will be returned with minutes in start Date.
For Example:
[{"quantity":342.2961720001028,"endDate":"2017-09-18T16:24:00+05:30","startDate":"2017-09-18T16:24:00+05:30","UUID":"64133C72-EFDF-4C7D-A585-FDC0276D1FE0","sourceBundleId":"com.apple.Health","sourceName":"Health","metadata":{"HKWasUserEntered":1}},{"quantity":360.3117600001082,"endDate":"2017-09-18T16:24:00+05:30","startDate":"2017-09-18T16:24:00+05:30","UUID":"F58A8275-8850-4DB3-8BC1-F320B95B738A","sourceBundleId":"com.apple.Health","sourceName":"Health","metadata":{"HKWasUserEntered":1}},{"quantity":378.3273480001136,"endDate":"2017-09-18T16:23:00+05:30","startDate":"2017-09-18T16:23:00+05:30","UUID":"75BC0176-39B9-41A7-AAE5-F3788B171D22","sourceBundleId":"com.apple.Health","sourceName":"Health","metadata":{"HKWasUserEntered":1}}]
Here In above Data the two records (marked as bold) start Date is same.
The text was updated successfully, but these errors were encountered: