You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running AppleHealthKit.initHealthKit in a useEffect shows the permission modal each time we navigate to that screen. Even though permission was granted/denied.
Navigate to this screen -> permission modal will show up -> deny
Navigate back one step
Navigate to the same screen -> permission modal will show up again
Expected behavior
Permission modal should only show up once. This has worked previously, and without any changes whatsoever to this part of our code (not even package updates), this has now stopped working.
Screenshots
ScreenRecording_01-27-2025.12-55-42_1.1.mp4
Smartphone (please complete the following information):
Device: iPhone 15 Pro Max
OS: [iOS18.1.1]
Version [1.19.0] (same problem in 1.18.0)
Also tried on the following devices with iOS18.1.1:
iPhone 14 <-- same problem
iPhone 15 Pro <-- not an issue
2x iPhone 14 Pro <-- not an issue
And these with iOS18.2.1
iPhone 16 Pro Max <--- same problem
The text was updated successfully, but these errors were encountered:
Describe the bug
Running
AppleHealthKit.initHealthKit
in auseEffect
shows the permission modal each time we navigate to that screen. Even though permission was granted/denied.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Permission modal should only show up once. This has worked previously, and without any changes whatsoever to this part of our code (not even package updates), this has now stopped working.
Screenshots
ScreenRecording_01-27-2025.12-55-42_1.1.mp4
Smartphone (please complete the following information):
Also tried on the following devices with iOS18.1.1:
iPhone 14 <-- same problem
iPhone 15 Pro <-- not an issue
2x iPhone 14 Pro <-- not an issue
And these with iOS18.2.1
iPhone 16 Pro Max <--- same problem
The text was updated successfully, but these errors were encountered: