Why does Apple Health permission never show with success:false?
If Apple Health's permission prompt never appears and initConnection returns success:false, check two things
If Apple Health's permission prompt never appears and initConnection returns success:false, check two things:
1
Verify the HealthKit capability and info.plist keys are present in the actual built app, not just the project config. The build process can strip or fail to include Apple Health permissions.
2
Call initConnection from the main UI thread. The permission screen is a main-thread-blocking component, so a busy thread can cause a timeout.
See the iOS SDK reference for setup details.
PreviousWhy doesn't the Health Connect permission dialog appear?
NextWhy does Apple Health show an invalid link error?
Last updated
Was this helpful?