iamStephenFang / react-native-heart-rate-monitor

Heart Rate Monitor(心率監測) Demo App for HKPolyU RS Department.

Home Page:https://rehab-kits.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Native Heart Rate Monitor


Logo

Heart Rate Monitor(心率監測)App written in React Native.

Getting Started

Run the following code to install the necessary frameworks and components

yarn install

Environment Setup

Please refer to the React Native official page to complete the running environment configuration.

Android Setup

When you complete the running environment configuration, run the following code to run the project on a simulator or an physical device.

yarn android

or

npx react-native run-android

iOS Setup

Simulator

Open a new terminal inside your React Native project folder. Run the following command:

yarn ios 

or

npx react-native run-ios

Device

  1. Plug in your device via USB

  2. Configure code signing

    Register for an Apple developer account if you don't have one yet.

    Select your project in the Xcode Project Navigator, then select your main target (it should share the same name as your project). Look for the "General" tab. Go to "Signing" and make sure your Apple developer account or team is selected under the Team dropdown. Do the same for the tests target (it ends with Tests, and is below your main target).

  3. Build and Run your app

Screenshots

TODO

  • Improve algorithm accuracy
  • Add i18n support
  • Add a heart rate history page
  • Add a heart rate chart

Special thanks to

License

MIT

About

Heart Rate Monitor(心率監測) Demo App for HKPolyU RS Department.

https://rehab-kits.com/

License:MIT License


Languages

Language:Java 31.3%Language:JavaScript 19.8%Language:Swift 13.0%Language:Kotlin 12.9%Language:C++ 9.1%Language:Objective-C++ 4.7%Language:Objective-C 3.6%Language:Ruby 2.0%Language:Makefile 2.0%Language:TypeScript 0.9%Language:Starlark 0.8%