GregWilson / react-native-apple-healthkit

A React Native bridge module for interacting with Apple HealthKit data
176 stars 42 forks source link

AppleExerciseTime causes instacrash on OS below iOS 9.3 #15

Open changey opened 7 years ago

changey commented 7 years ago

HKQuantityTypeIdentifierAppleExerciseTime is only available on iOS 9.3+. This creates instacrash on iOS 9.1 or lower. Any way we can only conditionally require this HKObjectType if the OS is 9.3 or above?

https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierappleexercisetime?language=objc#discussion