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

ExpoStoreReview standalone module

MIT
Latest version published 4 months ago

Package Health Score

89 / 100
Full package analysis