Skip to content

Commit 5282a25

Browse files
author
Ivan Mikhailovskii
committed
fix: read workout
1 parent 6ccfbc0 commit 5282a25

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

ios/SQFitnessStatistic.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ public class SQFitnessStatistic: NSObject {
6464
return
6565
}
6666

67-
if !self.healthKitManager.authorizationStatus(for: .workout) {
68-
return
69-
}
70-
7167
self.healthKitManager.queryWorkouts(
7268
type,
7369
start: startDate,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-sq-core-motion",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "step counter",
55
"main": "src/index.ts",
66
"source": "src/index",

0 commit comments

Comments
 (0)