How to use expo-store-review - 4 common examples

To help you get started, we’ve selected a few expo-store-review examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / apps / native-component-list / src / screens / StoreReview.tsx View on Github external
async componentDidMount() {
    const isAvailable = await StoreReview.isAvailableAsync();
    this.setState({
      isAvailable,
    });
  }
github expo / expo / apps / native-component-list / src / screens / StoreReview.tsx View on Github external
get storeUrl() {
    const storeUrl = StoreReview.storeUrl();
    if (storeUrl) {
      return `On iOS <10.3, or Android devices pressing this button will open ${storeUrl}.`;
    } else {
      return 'You will need to add ios.appStoreUrl, and android.playStoreUrl to your app.json in order to use this feature.';
    }
  }

expo-store-review

Provides access to native APIs for in-app reviews.

MIT
Latest version published 2 months ago

Package Health Score

92 / 100
Full package analysis