Closed dpa99c closed 7 years ago
Calling isMotionRequestOutcomeAvailable() or requestAndCheckMotionAuthorization() on a device with a motion coprocessor (iPhone 5S and above/iPad Air and above) causes a native crash if the device is running an old version of iOS (below iOS 10).
isMotionRequestOutcomeAvailable()
requestAndCheckMotionAuthorization()
This is because the plugin calls CMPedometer.isPedometerEventTrackingAvailable() which was only introduced in iOS 10 SDK.
CMPedometer.isPedometerEventTrackingAvailable()
Affects v3.3.2 only.
Fixed by f1e69c2047874d6b61ca4ef604786874e05acaf5 and published in v3.3.3
Calling
isMotionRequestOutcomeAvailable()
orrequestAndCheckMotionAuthorization()
on a device with a motion coprocessor (iPhone 5S and above/iPad Air and above) causes a native crash if the device is running an old version of iOS (below iOS 10).This is because the plugin calls
CMPedometer.isPedometerEventTrackingAvailable()
which was only introduced in iOS 10 SDK.Affects v3.3.2 only.