@hadx/react-native-store-rate

1.0.6 • Public • Published

React Native Store Rate

Show a popup asking for ratings or feedback. Show real in app (or open store) rating if users gave 5 stars.

In App Rating Feedback

Installation

  1. Install this package

    yarn add @hadx/react-native-store-rate

    OR

    npm install --save @hadx/react-native-store-rate
  2. Install react-native-rate

Basic Usage

import StoreRatePopup from '@hadx/react-native-store-rate';

const [visible, setVisible] = useState(true);

<StoreRatePopup
  primaryColor="#ff6a69"
  rateOptions={{
    AppleAppID: '1462815590',
    GooglePackageName: 'com.mywebsite.myapp',
  }}
  onFeedbackSubmit={feedback => setVisible(false)}
  visible={visible}
  onCancelPress={() => setVisible(false)}
/>

Package Sidebar

Install

npm i @hadx/react-native-store-rate

Weekly Downloads

7

Version

1.0.6

License

MIT

Unpacked Size

793 kB

Total Files

66

Last publish

Collaborators

  • newbiebr