matinzd/react-native-health-connect

Caller doesn't have android.permission.health.READ_SLEEPto read to record typeclass android.health.connect.datatypes.SleepSessionRecord

Closed this issue · 2 comments

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 '....'
  3. Scroll down to '....'
  4. See error

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

Screenshots
If applicable, add screenshots to help explain your problem.

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

Environment:

  • Health Connect Version:3.1.0
  • React Native Version: 0.71.7
  • New architecture enabled: no
  • Using Expo: No
  • Android API Level: e.g API 34 (Android 14)

As there is no reproduction and templated filled I am gonna close this.

Probably you haven't added required permissions in the manifest based on the title.