Skip to content
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

Android 10 and Android 11 don't work #39

Open
asikalove opened this issue Jan 25, 2021 · 3 comments
Open

Android 10 and Android 11 don't work #39

asikalove opened this issue Jan 25, 2021 · 3 comments

Comments

@asikalove
Copy link

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?

@Zmast1private-Ltd
Copy link

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

@Lengo46
Copy link

Lengo46 commented Jan 21, 2022

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
Copy link

Lengo46 commented Feb 9, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants