-
Notifications
You must be signed in to change notification settings - Fork 247
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
getAuthStatus Method Always returning 1 if permission is denied or granted. #394
Comments
I've also found the response from |
Same issue here. An alternative package is https://github.com/kingstinct/react-native-healthkit and I have test and it works great returning correct data for permission |
does it fix? I'm facing to same issue |
can anyone help fixing this issue ,I'm facing to same issue |
I am facing the same issue. Can anyone have any solution for this? |
@kaleb-dev Can you please share how you are using |
@nickcherry @ntrannghia @mohamad-soboh @kaleb-dev Additionally, ensure you handle permission results in a unified and consistent manner. Instead of passing all permissions in one loop, process each permission individually. |
Bug Description
I have to report Multiple
I am using AppleHealth.getAuthStatus but it is giving me same response as 1. is there any workaround to solve this issue.
Second Issue
i am getting Multiple Warning Sending Healthkit:activity no listeners registered.
Expected behaviour
unnecessary registered should not be fired or there is a method to disable these events.
Values of getAuthStatus while toggling the permission
Screenshots
Additional context
where should we write the code for listener to read it
and for multiple listener is this the only way to write the code without empty dependency as mentioned in the doc
useEffect(() => {
if (!updateDataFromAppleHealth.flag) {
const throttledDispatch = throttle((type) => {
dispatch(dataFetchFlag({ flag: true }));
}, 5000);
});
The text was updated successfully, but these errors were encountered: