React Native Health

screenshot of React Native Health

React Native Health

A React Native package to interact with Apple HealthKit


The React Native Health package is designed to allow interaction with Apple HealthKit for iOS, enabling access to health and fitness data exposed by HealthKit. It offers methods to collect and save data to HealthKit, request permissions from users, and set up background processing capabilities for long-running observer queries.


  • Access Health & Fitness Data: Interact with health and fitness data exposed by Apple HealthKit.
  • Request User Permissions: Request user permissions for specific data types to start collecting or saving data.
  • Background Processing: Set up long-running observer queries for health types needed for background capabilities.
  • Documentation: Detailed documentation covering constants, activities, observers, permissions, and base methods.


  1. Install the react-native-health package from npm.
  2. For CocoaPods, run the following command from the ios/ folder of your app.
  3. Manually link the package if necessary.
  4. Update the ios/<Project Name>/info.plist file to add HealthKit support to your application's Capabilities.
  5. Open the ios/ folder of your project in Xcode and add 'HealthKit' under capabilities to enable access to clinical data types.


The React Native Health package offers a convenient way to interact with Apple HealthKit for iOS, allowing developers to access and work with health and fitness data seamlessly. With features like user permission requests, background processing, and comprehensive documentation, it provides a robust solution for integrating health-related functionalities into React Native applications.


React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

React Native

React Native is a framework for building mobile applications using React and JavaScript. It enables developers to write once and deploy to multiple platforms, including iOS, Android, and the web, while providing a native app-like experience to users.