HealthKit in Expo/React Native – App not showing up in iOS Health settings after initHealthKit
Hey everyone,
I’m building a meditation app (StillMind) with Expo SDK 54 / React Native 0.81 and I’m trying to integrate Apple HealthKit to save mindful sessions. I’m using react-native-health for this.
My setup:
• Expo SDK 54, bare workflow
• react-native-health installed
• NSHealthShareUsageDescription and NSHealthUpdateUsageDescription in Info.plist
• HealthKit entitlement added in app.json
The problem: When I call initHealthKit with MindfulSession permissions, it either returns an error or succeeds silently, but StillMind never appears in iOS Settings → Health → Apps. The permission dialog never shows.
My code:
const permissions = {
permissions: {
read: [AppleHealthKit.Constants.Permissions.MindfulSession],
write: [AppleHealthKit.Constants.Permissions.MindfulSession],
},
};
AppleHealthKit.initHealthKit(permissions, (err) => {
if (err) console.log("HealthKit error:", err);
});
Questions:
1. Does react-native-health work with Expo SDK 54 / New Architecture?
2. Is there something special needed to trigger the permission dialog?
3. Any known issues with MindfulSession specifically?
Any help appreciated!