I am using the react-native-fitness version 0.4.0 and react-native version 0.63.2.
I am getting an empty array in return of calling getCalories function until i install Google Fit app on my android phone. I don't want to install google fit app, but without it function returns me empty array.
There must be a way around, Please suggest.
{ kind: Fitness.PermissionKinds.Activity, access: Fitness.PermissionAccesses.Read } add to permission to request permission ACTIVITY_RECOGNITION and it work
I am using the react-native-fitness version 0.4.0 and react-native version 0.63.2. I am getting an empty array in return of calling getCalories function until i install Google Fit app on my android phone. I don't want to install google fit app, but without it function returns me empty array. There must be a way around, Please suggest.