RN实现的App Store评分组件 – react-native-app-store-review


This library allow you to print the new iOS 10.3 rate pop-up. If your users use a version of iOS higher than 8.0 but lesser than 10.3 a new view within the app is pushed with the app store page of your app. And if your user got an iOS version lesser than 8.0, it will be redirected on the app store in the write review section of your app.

Getting started

$ npm install react-native-app-store-review –save

Mostly automatic installation

$ react-native link react-native-app-store-review

Manual installation


  1. In XCode, in the project navigator, right clickLibraries➜Add Files to [your project’s name]
  2. Go tonode_modules➜react-native-app-store-reviewand addRNAppStoreReview.xcodeproj
  3. In XCode, in the project navigator, select your project. AddlibRNAppStoreReview.ato your project’sBuild Phases➜Link Binary With Libraries
  4. Run your project (Cmd+R)<


import AppStoreReview from 'react-native-app-store-review';

AppStoreReview.requestReview('1234567890'); // Change to your app store id

转载请明显位置注明出处:RN实现的App Store评分组件 – react-native-app-store-review