Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Healthkit permissions prompt closes instantly after opening (iOS version 17.1.1) #349

Open
Mayank-Yadav89 opened this issue Nov 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Mayank-Yadav89
Copy link

Describe the bug
Apple Healthkit permission prompt in iOS version >17 the modal closes instantly after opening up without user interaction.

To Reproduce
For iOS version 17 or higher, try running AppleHealthKit.initHealthKit function

  1. Call AppleHealthKit.initHealthKit
  2. Wait for modal to appear
  3. Modal closes instantly
  4. Put the app to background
  5. Open app again: Permission popup comes back and starts working normally.

Expected behavior
The modal should not close. The user should be able to enable/disable as usual.

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

Smartphone:

  • Device: iPhone
  • OS: iOS 17.1.1
  • Version: "react-native-health": "^1.14.0"

Additional context
Works fine on iPhone 7 Plus v15.8

@Mayank-Yadav89 Mayank-Yadav89 added the bug Something isn't working label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant