How to know whether user granted permission to use google Fit

In our app, we would like to know if user accepted or denied giving us access to google fit. Is it possible?

The API has a function isAvailableAsync that checks if the device has the right sensors.

When it’s called in an android device, i get the google fit permission prompt. Is this expected behaviour?
How can i detect when user denies access to google fit?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.