How to use react-native-rate - 5 common examples

To help you get started, we’ve selected a few react-native-rate 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 BlueWallet / BlueWallet / screen / settings / about.js View on Github external
const handleOnRatePress = () => {
    const options = {
      AppleAppID: '1376878040',
      GooglePackageName: 'io.bluewallet.bluewallet',
      preferredAndroidMarket: AndroidMarket.Google,
      preferInApp: true,
      openAppStoreIfInAppFails: true,
      fallbackPlatformURL: 'https://bluewallet.io',
    };
    Rate.rate(options, success => {
      if (success) {
        console.log('User Rated.');
      }
    });
  };
github BlueWallet / BlueWallet / screen / settings / about.js View on Github external
const handleOnRatePress = () => {
    const options = {
      AppleAppID: '1376878040',
      GooglePackageName: 'io.bluewallet.bluewallet',
      preferredAndroidMarket: AndroidMarket.Google,
      preferInApp: true,
      openAppStoreIfInAppFails: true,
      fallbackPlatformURL: 'https://bluewallet.io',
    };
    Rate.rate(options, success => {
      if (success) {
        console.log('User Rated.');
      }
    });
  };
github birkir / hekla / src / screens / settings / Settings.tsx View on Github external
onRatePress() {
    const options = {
      AppleAppID: config.IOS_APPSTORE_ID,
      GooglePackageName: config.ANDROID_BUNDLE_ID,
      preferredAndroidMarket: AndroidMarket.Google,
      preferInApp: false,
    };

    Rate.rate(options, () => null);
  }
github flavioislima / remote-jobs-app / src / UI / RatingModal.tsx View on Github external
const onFinishRating = (
  rated: (value: string) => void,
  setModalVisible: (value: boolean) => void,
  modalVisible: boolean
) => {
  Rate.rate(options, () => {
    rated("true");
    setModalVisible(!modalVisible);
    AsyncStorage.setItem("count", "0");
  });
};
github birkir / hekla / src / screens / settings / Settings.tsx View on Github external
onRatePress() {
    const options = {
      AppleAppID: config.IOS_APPSTORE_ID,
      GooglePackageName: config.ANDROID_BUNDLE_ID,
      preferredAndroidMarket: AndroidMarket.Google,
      preferInApp: false,
    };

    Rate.rate(options, () => null);
  }

react-native-rate

React Native Rate is a cross platform solution to getting users to easily rate your app.

MIT
Latest version published 2 years ago

Package Health Score

56 / 100
Full package analysis