react-native-review

0.0.1 • Public • Published

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();

Dependents (0)

Package Sidebar

Install

npm i react-native-review

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • shawpaw