react-native-healthkit
react-native-healthkit copied to clipboard
HealthKit.subscribeToChanges does not work with RN New Architecture enabled
https://github.com/KesoGizmoYoshi/rn-healthkit-test
I am unable to get subscribeToChanges to work on a project running with RN New Architecture enabled. The same code works perfectly when running on a prebuilt version with newArchEnabled set to false. When newArchEnabled is set to false, the console log successfully triggers when a new sample exists. However, when newArchEnabled is set to true, nothing happens, and the subscription does not seem to work.