I tried to add a EXPO iOS StoreReview API but failed. have any sample code?
import * as StoreReview from 'expo-store-review';
...
export default SettingPage() {
handleReview = () => {
if (StoreReview.isSupported()) {
StoreReview.requestReview();
}
};
render (
...
<TouchableOpacity onPress={handleReview}>
<Text>Click Review</Text>
</TouchableOpacity>
);
}