Occasionally, one of [CMStepCounter isStepCountingAvailable] or [CMMotionActivityManager isActivityAvailable] will return FALSE on an iPhone 5S.
| Originator: | john.stucklen | ||
| Number: | rdar://16829456 | Date Originated: | 5/6/2014 |
| Status: | Open | Resolved: | No |
| Product: | iOS | Product Version: | 7+ |
| Classification: | Other Bug | Reproducible: | Rarely |
In our app we are checking if a device has M7 capabilities via a check of the form ([CMStepCounter isStepCountingAvailable] && [CMMotionActivityManager isActivityAvailable]). If that returns FALSE then we show a different experience to the user. We have reports from some users of iPhone 5S devices that they are getting into that alternative experience which will only happen if one of those two conditions is FALSE. We've verified the model starts with iPhone6 from the model string as retrieved with sysctlbyname for the "hw.machine" name. It would seem that either [CMStepCounter isStepCountingAvailable] or [CMMotionActivityManager isActivityAvailable] is returning FALSE on an iPhone 5S (rarely) which leads to a confusing user experience. Is it expected behavior that these could sometimes return FALSE on a device with an M7 chip? It does not appear to be documented as such.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!