krokyze / FitKit

Flutter plugin for reading health and fitness data. Wraps HealthKit on iOS and GoogleFit on Android.
BSD 2-Clause "Simplified" License
98 stars 73 forks source link

Security exception while getting Step data #67

Open mirkancal opened 3 years ago

mirkancal commented 3 years ago

I was trying to fit_kit package, saw this exception related to the steps. Currently I can't get the Steps data.

Added this <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" /> in AndroidManifest.xml but didn't work.

mirkancal commented 3 years ago

After I've manually turn on the activity permission it worked. Is there anyway we can add this permission to package?