HealthKit requestAuthorization dialog not appearing

I am making an app that collects information from Apple Health (HealthKit). When the application is installed for the first time, the apple screen appears with the permissions that will be used, but when it is in Testflight that screen never appears, is there any extra configuration that has to be done when it is released to production? if the app is installed from xcode, it works correctly

Answered by Laura_Ramirez in 705549022

I had two different bundles, one both in the card of my app and another service that I have OneSignalNotificationServiceExtension. Within both they must point to release and not to debug. that's what i did and it worked in testFlight

i'm faced with the same issue. My app asks for HealthKit permissions as expected on simulator and real device when installed with xcode, but when i downloaded the same version of app from TestFlight no permissions were asked and i didn't see any permission regards to my app on ios health app. If you found any solution to this issue, i will appreciate for your help.

I had two different bundles, one both in the card of my app and another service that I have OneSignalNotificationServiceExtension. Within both they must point to release and not to debug. that's what i did and it worked in testFlight

Accepted Answer

I had two different bundles, one both in the card of my app and another service that I have OneSignalNotificationServiceExtension. Within both they must point to release and not to debug. that's what i did and it worked in testFlight

HealthKit requestAuthorization dialog not appearing
 
 
Q