Skip to main content

getGrantedPermissions

Returns a set of all health permissions granted by the user to the calling provider app.

Method

getGrantedPermissions(): Promise<Permission[]>

Example

import { getGrantedPermissions } from 'react-native-health-connect';

const readGrantedPermissions = () => {
getGrantedPermissions().then((permissions) => {
console.log('Granted permissions ', { permissions });
});
};