You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a difficult time getting Apple HealthKit integration to work. Even though I have been following the documented basic example for requesting authorization (ie. CapacitorHealthkit.requestAuthorization), I have been unable to to trigger the confirmation screen to pop up.
Assuming I have followed the instructions as provided, is there some else I should be doing to enable Apple HealthKit integration in my app (any settings, etc)? Perhaps there is some build setting that needs to be enabled? Any suggestions as to what I should try to troubleshoot this issue?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi @kyllerss, please provide a repo where I can reproduce this issue. Otherwise it is hard to help, because things should work if you followed the docs.
Found the issue. I had added the capabilities manually (the instructions state that as an alternative to using the UI). However when I did it through the UI, I found that it modified some additional configuration files around entitlements that made the approval popup work. I think the instructions should state that the UI is required (or document the additional files that need to be modified). The additional files that I found to be modified were:
I am having a difficult time getting Apple HealthKit integration to work. Even though I have been following the documented basic example for requesting authorization (ie.
CapacitorHealthkit.requestAuthorization
), I have been unable to to trigger the confirmation screen to pop up.Assuming I have followed the instructions as provided, is there some else I should be doing to enable Apple HealthKit integration in my app (any settings, etc)? Perhaps there is some build setting that needs to be enabled? Any suggestions as to what I should try to troubleshoot this issue?
Thanks!
The text was updated successfully, but these errors were encountered: