matinzd / react-native-health-connect

React native library for health connect (Android only)
http://matinzd.github.io/react-native-health-connect
MIT License
203 stars 43 forks source link

[Error: android.health.connect.HealthConnectException: java.lang.SecurityException: Caller doesn't have android.permission.health.READ_SLEEPto read to record typeclass android.health.connect.datatypes.SleepSessionRecord] #140

Open RushitaRn25 opened 3 weeks ago

RushitaRn25 commented 3 weeks ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to ''

  2. Click on '....' ![Uploading Screenshot 2024-08-23 at 1.49.30 PM.png…]()

  3. Scroll down to '....'

  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applic Screenshot 2024-08-23 at 1 48 38 PM able, add screenshots to help explain your problem.

Minimal Reproducible
Screenshot 2024-08-23 at 1 47 13 PM

Link to minimal reproducible code. It would be much easier for us to investigate the issue!

Environment:

matinzd commented 2 weeks ago

Please fix the template of the issue so I can investigate. Thanks for your understanding.