-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example project crashes when requesting permission #24
Comments
i have the same problem... did you find a solution? |
I think I was missing a permission. Apparently for workouts you also need other implicit permissions. There's an issue in this repo somewhere about it |
me too.. did anyone solve it? |
@JongHyun9999 I figured out what caused the crash and a fix for it, you can see it here: quentinleguennec@da03ad8 BUT: This fix only fixes the crash, which allows to see what was causing the error to start with. This is due to Google changing things on their side (for the Privacy Policy), you can read more about it here: cph-cachet/flutter-plugins#800 (comment) Since this plugin is not being maintain I recommend trying this other plugin instead: https://pub.dev/packages/health |
Ok, so I tried to move from this unmaintained plugin to the maintained health plugin but it just does not have enough for my need, so I started updating this plugin to support Android 14 and more. This is still a work in progress, but feel free to look at the code here: https://github.com/quentinleguennec/flutter_health_connect/tree/feature_added_aggregate_function |
hi @quentinleguennec and @ciriousjoker did anyone find how to ask permission in background with workmanager? Because my app works perfect bu in background told me, that I need permissions and i dont kown why |
I'm not using this package anymore. |
@carlos1219 I'm not sure I understand the question, what are you trying to do and what does the error look like? |
Steps to reproduce:
Expected:
Health Connect should open
Actual:
App crashes
The text was updated successfully, but these errors were encountered: