nativescript-health-data icon indicating copy to clipboard operation
nativescript-health-data copied to clipboard

Android 10 and Android 11 don't work

Open asikalove opened this issue 4 years ago • 3 comments

nativescript-health-data doesn't work For Android 10 and 11 I quess it happens due to lack of permissions. I mean android.permission.ACTIVITY_RECOGNITION https://developer.android.com/about/versions/10/privacy/changes#physical-activity-recognition

Could you help with this?

asikalove avatar Jan 25 '21 15:01 asikalove

I'm also facing this issue now, but it works nicely 4 months ago , now it is throwing not authorized error, Did you solved this??@asikalove , help from your side. Thank You...!!!

Note : I added 'android.permission.ACTIVITY_RECOGNITION' , but it wont works

and then, 'com.google.android.gms.permission.ACTIVITY_RECOGNITION', it also doesn't work

Zmast1private-Ltd avatar Mar 08 '21 14:03 Zmast1private-Ltd

No resolve for this still? Facing the same problems with 10 & 11. Adding the ACTIVITY_RECOGNITION in the manifest and HealthData.prototype.permissionsNeeded doesn't resolve the issue. Even if you set the permission manual on the phone, the isAuthorized returns false

Lengo46 avatar Jan 21 '22 11:01 Lengo46

No one with any solution? I made the mistake of putting this in a production live app...

Lengo46 avatar Feb 09 '22 10:02 Lengo46