nativescript-health-data
nativescript-health-data copied to clipboard
Not Autheried Issue in android
not autherized how to solve it?

For new android version q, you need to add new permission
if (android.os.Build.VERSION.SDK_INT >= 28) { permissions.push(android.Manifest.permission.ACTIVITY_RECOGNITION); }
onthe plugin android manifiest
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
you need to add the plugin from github, npm version not work