Integration with motion coprocessor M8. Not a bug, could you delete this?

This issue is solved. The bug was on the app side.

We have an app that collects information from the M8 motion coprocessor. Before stepper integration the Appium test automation worked fine, but since it has been implemented, if Fitness Tracking is enabled in the Settings of the phone the automation process freezes at the point when data is called from the device. If I disable Fitness Tracking, automation works fine.
Anyone had this issue before? Is there any way to make it work with Appium when Fitness Tracking is enabled?
I use iPhone 6 for testing.