title: Location.requestForegroundPermissionsAsync is not a function
body: <p>I just try to use expo-location and I found that error
  Location.requestForegroundPermissionsAsync is not a function</p>
  <p>this is my code</p>
  <pre><code>import * as Location from 'expo-location';
  
  const setCurrentLocation = async() =&gt; {
          let { status } = await Location.requestForegroundPermissionsAsync();
          if (status !== 'granted') {
              setErrorMsg('Permission to access location was denied');
              return;
            }
            let location = await Location.getCurrentPositionAsync({});
            setLocation(location);
              if (errorMsg) {
                  setCheckText(errorMsg)
              } else if (location) {
                  setCheckText(JSON.stringify(location))
              }  
      }
  </code></pre>