flutter-plugins icon indicating copy to clipboard operation
flutter-plugins copied to clipboard

Fix health connect on activity result

Open nektar95 opened this issue 2 years ago • 1 comments

Problem:

When you have only installed Health Connect you cannot retrieve data from it using health plugin.

Solution: Request code for health connect wasn't checked so we couldn't proceed further with permission granted.

nektar95 avatar Jan 02 '24 14:01 nektar95

Hello, in order to comply with Android 14, we will update requestAuthorizationHC and as part of that eliminate the need to use startActivityForResult. Please see if your issue persists in the dev branch: https://github.com/cph-cachet/flutter-plugins/tree/health-dev.

hoffmatteo avatar Jan 29 '24 13:01 hoffmatteo