1

So I use the following to check if google fit has established a connectiong

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
        (ContextCompat.checkSelfPermission(requireActivity(), Manifest.permission.ACTIVITY_RECOGNITION)
                == PackageManager.PERMISSION_GRANTED)
    }

I'm running android 11 (so above Q). I've gone into the google fit app, and disconected the app, but this is still returning true.

Cate Daniel
  • 724
  • 2
  • 14
  • 30
  • What do you mean by "disconnected the app"? You can isolate which step is failing by checking out the logs on the device or using a test device to reproduce. I tried replicating but I realize that might be difficult to arrange, but will be a critical step in getting to an actionable result. – Arel Guatno May 10 '22 at 14:33
  • I go into the google fit app -> settings -> connected apps -> disconnect all – Cate Daniel May 10 '22 at 16:50

0 Answers0