flutter-plugins
flutter-plugins copied to clipboard
[HEALTH 9.0.0] Unable to determine health access on IOS.
- Device: [ Emulator iPhone 8]
- OS: [ IOS]
Install fresh app. Run following code, granting all required permissions on requestAuthorization phase.
final permissions_pre=await health.hasPermissions([HealthDataType.STEPS]); // is null
final request = await health.requestAuthorization([HealthDataType.STEPS],permissions:[HealthDataAccess.READ]); // grant access request==true
final permissions_post=await health.hasPermissions([HealthDataType.STEPS]); // is asserted to be not null, but it does.
The problem is permissions_pre is equal to permissions_post and both are null
There is no way to understand were the permission dialog ever asked and any permissions was granted or denied.
Same problem here.
The hasPermissions() always return null.
I'm version 8.1.0 of the health package, so an issue before version 9....
Same issue exists. I am using version ^9.0.1
Any fix for this? How do we tell the user if their Health Data is connected or not on iOS