Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ravirupareliya/rn-in-app-review

React native package to add in app review functionality for android and ios applications
https://github.com/ravirupareliya/rn-in-app-review

hacktoberfest react-native react-native-app react-native-in-app-review

Last synced: about 19 hours ago
JSON representation

React native package to add in app review functionality for android and ios applications

Awesome Lists containing this project

README

        

# react-native-in-app-review

![npm](https://img.shields.io/npm/v/rn-in-app-review?logo=npm)

![npm](https://img.shields.io/npm/dw/rn-in-app-review?logo=npm)

Now you can integrate this to react native and in-app review dialog can be shown to user. User doesn't need to move to play store or app store to submit their review.

## Supports both android and iOS

![Android](https://github.com/ravirupareliya/rn-in-app-review/blob/master/android.jpg)
![iOS](https://github.com/ravirupareliya/rn-in-app-review/blob/master/ios.png)

## Getting started

`$ npm install rn-in-app-review --save`

or

`$ yarn add rn-in-app-review`

### For React Native < 0.60

`$ react-native link rn-in-app-review`

### For React Native >= 0.60

`$ cd ios`
`$ pod install`

## Usage
```javascript
import RnInAppReview from 'rn-in-app-review';

RNInAppReview.launchReviewFlow((isSuccessful)=>console.log('RNInAppReview ' , isSuccessful))

```

## When to request an in-app review

Follow [Guideline](https://github.com/ravirupareliya/rn-in-app-review/blob/master/Guidelines.md) to get clear idea about when to launch or use in app review.

- [How To Test In App Review For Android?](https://developer.android.com/guide/playcore/in-app-review/test)
- [Test In App Review For iOS](https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/ratings-and-reviews/)