App not visible in Health App on Simulator #265
Unanswered
jonahschlie
asked this question in
Q&A
Replies: 1 comment
-
Hello, have you provided any data types in the Example: /* Permission options */
const permissions = {
permissions: {
read: [AppleHealthKit.Constants.Permissions.HeartRate],
write: [AppleHealthKit.Constants.Permissions.Steps],
},
} as HealthKitPermissions;
AppleHealthKit.initHealthKit(permissions, (error: string) => {
/* Called after we receive a response from the system */
if (error) {
console.log('[ERROR] Cannot grant permissions!');
}
/* Can now read or write to HealthKit */ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a react native app and want to get access to the health data i typed in manually in health app. But after i tried initHealthKit my app is not shown in the health app as an app that want acess to the data. any tips how i can manage that?
Beta Was this translation helpful? Give feedback.
All reactions