0.0.1 • Published 7 years ago

react-native-review v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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)

  1. Run npm install react-native-review --save

  2. Run react-native link react-native-review

  3. Toggle on In-App Purchases for your App (Project > Capabilities > In-App Purchases)

  4. Add the following JavaScript to your project:

import Review from 'react-native-review';

const appReview = new Review().requestReview();

Manual Installation

  1. Run npm install react-native-review --save

  2. Add RNReview.xcodeprojc to your Projects libraries (Right click 'Libraries' under your project and select 'Add files to "Project"...')

  3. Add 'lbRNReview.a' to your projects 'Build Phases' (Project > Build Phases)

  4. Toggle on In-App Purchases for your App (Project > Capabilities > In-App Purchases)

  5. Add the following JavaScript to your project:

import Review from 'react-native-review';

const appReview = new Review().requestReview();