public async Task RequestPermissionsAsync(PermissionName permissionName) { var result = await currentPermissions.RequestPermissionsAsync(permissionName.ToPluginPermission()); //TODO: I should return result, and check it }
public async Task <PermissionStatus> CheckPermissionStatusAsync(PermissionName permissionName) { var pluginPermissionStauts = await currentPermissions.CheckPermissionStatusAsync(permissionName.ToPluginPermission()); return(pluginPermissionStauts.ToMyPermissionStatus()); }