Open bardram opened 9 months ago
https://github.com/cph-cachet/flutter-plugins/issues/847
I had to revert back to health 8.0.0 to get it working for android again.
Have you tried this: https://github.com/cph-cachet/flutter-plugins/issues/888#issuecomment-1931983263
That worked for me. Specifically updating MainActivity.kt
as follows:
package xx.xx.xxxx --> your package
import android.os.Bundle
import io.flutter.embedding.android.FlutterFragmentActivity
class MainActivity: FlutterFragmentActivity() {
}
Hey Hagan, thank you for replying. I was actually able to get it working with your help, so thank you!
Device / Emulator and OS
When calling the
requestAuthorization()
method on Android, the method never returns. So if awaiting this then the execution stops.Using Health Connect.