Expo web bare work flow permissions not working.

I am using sdk 37.0.0

"expo-permissions": "^9.0.1",
"react-native-unimodules": "^0.10.1",

getting this error in react native web:

Attempted import error: 'getPermissionsAsync' is not exported from 'expo-permissions' (imported as 'Permissions').

using as:
import * as Permissions from 'expo-permissions';

 try {
      const { status } = await Permissions.getPermissionsAsync();
      if (status !== 'granted') {
         alert(status)
        return;
      }
    } catch (e) {
      console.log(e);
    }