Open sarika-dev opened 4 months ago
Describe the bug Not getting source information when requesting mindful session data from apple health. I see, someone had created PR for this - https://github.com/agencyenterprise/react-native-health/pull/200 but it's closed.
To Reproduce Call the method:
AppleHealthKit.getMindfulSession( options, (err: string, results: Array<HealthValue>) => { if (err) { console.log('error getting mindful session: ', err) return } // returns array of mindful session data console.log(results) }, )
Actual behavior
[ { "startDate": "2016-07-08T12:00:00.000-0400", "endDate": "2016-07-08T12:00:00.000-0400" }, { "startDate": "2016-07-08T12:00:00.000-0400", "endDate": "2016-07-08T12:00:00.000-0400" } ]
Expected behavior
[ { "startDate": "2016-07-08T12:00:00.000-0400", "endDate": "2016-07-08T12:00:00.000-0400", "sourceId": "com.apple.Health", "sourceName": "Health" }, { "startDate": "2016-07-08T12:00:00.000-0400", "endDate": "2016-07-08T12:00:00.000-0400", "sourceId": "com.apple.Health", "sourceName": "Health" } ]
Smartphone (please complete the following information):
Describe the bug Not getting source information when requesting mindful session data from apple health. I see, someone had created PR for this - https://github.com/agencyenterprise/react-native-health/pull/200 but it's closed.
To Reproduce Call the method:
Actual behavior
Expected behavior
Smartphone (please complete the following information):