-
Notifications
You must be signed in to change notification settings - Fork 696
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
[Health 11.1.1]Permission issue in Android 14 #1090
Comments
@KK-dev-mobile Are you running the example app? Also is this on an emulator or actual device? |
No I am not running example app, I've done my own setup using docs reference and I am testing it in both debug and release mode with emulator and real devices. still the issue is same for android 14 only that the permission is not getting invoked and in health connect in manage permissions section they're showing needs updating for my app and my app is targeting android 14 (API 34) also. Everything is working fine in android 13 and lower. I am attaching my health controller's code that is using Getx :-
|
@KK-dev-mobile can you share:
I don't see the following functions in your code:
|
i have error to in android 14 can not show to request permission for activityRecognition. I use the Pedometer plugin |
@KK-dev-mobile Did you find out what the problem was? I faced the same situation. |
Plugin Name
health
Plugin Version
11.1.1
Device
all android 14 devices
Operating System
Android 14
Describe the bug
My flutter project is targeting android 14 (API 34) but when i install release APK in android 14 it doesn't asks for health data permissions, in health connect I saw "needs updating" for my flutter app. why it is ?
Steps to Reproduce
setup health connect in your peoject, target android 34 API(android 14), make a release APK, install in android 14 devices
Expected Behavior
Should ask for health data permissions in every higher android versions.
Actual Behavior
Not asking for health data permission in android 14 and health connect is showing "needs updating" for my app.
Flutter Logs
No response
Screenshots
No response
Flutter Doctor Output
Additional Information
Please fix the issue ASAP.
The text was updated successfully, but these errors were encountered: