cph-cachet / flutter-plugins

A collection of Flutter plugins developed by CACHET
537 stars 642 forks source link

[health]GoogleSignIn.getAccountForExtension in `HelathPlugin.kt#getData` uses permissions that is not requested. #203

Closed kouchi32 closed 3 years ago

kouchi32 commented 3 years ago

Device / Emulator and OS

Please complete the following information for each phone and/or emulator you're experiencing this bug on:

Describe the bug

GoogleSignIn.getAccountForExtension in HelathPlugin.kt#getData uses permissions that is not requested. Then, GoogleSignIn.getAccountForExtension returns no account. So Fitness.getHistoryClient returns always empty data points.

Additional information

There is PR. https://github.com/cph-cachet/flutter-plugins/pull/202

thomasnilsson commented 3 years ago

Merged in version 2.0.7 :)