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

Not Autheried Issue in android

Open prakashksp20 opened this issue 6 years ago • 1 comments

not autherized how to solve it?

Screenshot_1574926382

prakashksp20 avatar Nov 28 '19 07:11 prakashksp20

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

DonsWayo avatar Dec 16 '19 21:12 DonsWayo