Feature Request: Health Metrics Support #703
digitall-it
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I kindly ask for the implementation of native support for Apple HealthKit (iOS) and Google Health Connect (Android) within NativePHP Mobile. These frameworks provide unified access to health and fitness data, enabling apps to read and write metrics such as steps, heart rate, workouts, nutrition, and sleep in a privacy-compliant manner.
Why This Matters
Integrating HealthKit and Health Connect would allow PHP developers to create truly health-aware applications without leaving the NativePHP ecosystem. Currently, this type of functionality is only accessible through native Swift/Kotlin code or via hybrid frameworks like Ionic or React Native.
Adding support for these APIs would:
Potential Implementation Ideas
Health::read('steps', from: today())
).HealthDataType::HeartRate
,HealthDataType::SleepSession
).Example pseudo-usage:
Developer Impact
This would empower:
Summary Request
Please consider adding official HealthKit and Health Connect integration to NativePHP Mobile, either as a core feature or an optional plugin. It would open up an entirely new category of health-focused native apps built with PHP.
Beta Was this translation helpful? Give feedback.
All reactions