krokyze / FitKit

Flutter plugin for reading health and fitness data. Wraps HealthKit on iOS and GoogleFit on Android.
BSD 2-Clause "Simplified" License
98 stars 73 forks source link

How to use this plugin in android #47

Closed Tetsukick closed 4 years ago

Tetsukick commented 4 years ago

I really don't know how to make it work in android. I do enable the Fitness API and also obtain an OAuth 2.0 client ID. But the ID is nowhere to use. There is a prompt for which Google account to use, but then just silent disappear, then no error, await FitKit.requestPermissions(DataType.values) just return false.

vvicenteboo commented 4 years ago

same issue here, any solution?, for me requestPermissions only works on dev but crashes on release apk

krokyze commented 4 years ago

Duplicate of #45