CapstoneDesign2-WHEALTH / Whealth_HK-UI

0 stars 0 forks source link

Build Issue #1

Open claycat opened 2 years ago

claycat commented 2 years ago

Currently, our app is making errors during build. (pthread_kill) We're currently suspecting healthkit permissions for this error.

claycat commented 2 years ago

Current workaround for this error is allowing healthkit permissions manually, but I think additional work should be done to prevent this error for future releases.

edd3173 commented 2 years ago

The reason why HealthKit permissions are not executed first, is because javascript methods run asynchronously. We need to implement synch-functions in order to init HealthKit, then get some informations