can anyone test this code why there is a delay with the authorization prompt for both the localization functionality (GPS) and heartrate functionality (healthkit)? The code seems appropriate and my intention was it to separate every functionality to separate classes to have a cleaner code. I hope you can help me out. Thank you very much.
Here is my xcode project: https://uploadfiles.io/ebot2mri