Docs about StoreReview may need to be updated

The document ( https://docs.expo.io/versions/v35.0.0/sdk/storereview/ ) says import { StoreReview } from 'expo'. However, the code dose not work in my case. What I did is this;

import { requestReview, isSupported } from 'expo-store-review'

const promptStoreReview = () => {
  if (isSupported()) { // iOS is 10.3 or greater
    requestReview()
  }
}

Thus, you may want to update this page. Thank you.

2 Likes

Hey @takuya0206,

Thanks for bringing this up. The package was moved out of the expo package for SDK35 to it’s own package. So you’ll want to run expo install expo-store-review and then import it from there. I just pushed out an update to the docs. It should hit production soon.

Thanks,
Adam