About
This projects aims to implement the newly introduced In-App review functionality (iOS 10.3) via a React Native bridge.
Pull requests are very welcome and any additional functionality or enhancements are most welcome.
Installation (RN Linker)
-
Run
npm install react-native-review --save
-
Run
react-native link react-native-review
-
Toggle on In-App Purchases for your App (Project > Capabilities > In-App Purchases)
-
Add the following JavaScript to your project:
import Review from 'react-native-review';
const appReview = new Review().requestReview();
Manual Installation
-
Run
npm install react-native-review --save
-
Add RNReview.xcodeprojc to your Projects libraries (Right click 'Libraries' under your project and select 'Add files to "Project"...')
-
Add 'lbRNReview.a' to your projects 'Build Phases' (Project > Build Phases)
-
Toggle on In-App Purchases for your App (Project > Capabilities > In-App Purchases)
-
Add the following JavaScript to your project:
import Review from 'react-native-review';
const appReview = new Review().requestReview();