Why do the location permissions have to be allowed when launching a workout on the iOS phone?

The location permissions are mainly divided into Never, While Using the App and Allow.
To ensure the integrity and reliability of exercise data such as trajectory during exercise, the APP requires that you should obtain permission to Allow location before you can initiate exercise normally.
Please note that even if the permission to Allow location is granted, the APP will not continue to obtain your location information, and will only be used in scenarios where location is required, such as in motion.
If you initiate an exercise with While Using the App granted, when the App enters the background state, there is a certain probability that problems such as positioning and track loss will occur, which will seriously affect the exercise experience.
In addition, for the devices that do not support independent positioning, the acquisition of positioning information depends on the mobile phone. If the mobile phone’s positioning authority is insufficient, problems such as the device being unable to obtain positioning information will occur.
Therefore, to ensure the complete and correct recording of exercise data requires the permission to Allow location on iOS devices before initiating an exercise. At the same time, Xiaomi is constantly exploring new solutions and optimizing the way to obtain permissions.