New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-in-app-review

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-in-app-review - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

12

package.json
{
"name": "react-native-in-app-review",
"version": "1.0.3",
"version": "1.0.4",
"description": "react native app review Generally, the in-app review flow (see figure 1) can be triggered at any time throughout the user journey of your app. During the flow, the user has the ability to rate your app using the 1 to 5 star system and to add an optional comment. Once submitted, the review is sent to the Play Store and eventually displayed.",

@@ -9,2 +9,12 @@ "main": "index.js",

},
"keywords": [
"react",
"native",
"review",
"app review",
"android",
"rate your app",
"review is sent to the Play Store",
"view"
],
"repository": {

@@ -11,0 +21,0 @@ "type": "git",

42

README.md

@@ -43,43 +43,1 @@ # react-native-in-app-review

* In-app reviews require your app to be published in Play Store. However, you can test your integration without publishing your app to production using either internal test tracks or internal app sharing.
# react-native-in-app-review
The Google Play In-App Review API lets you prompt users to submit Play Store ratings and reviews without the inconvenience of leaving your app or game.
Generally, the in-app review can be triggered at any time throughout the user journey of your app. During the flow, the user has the ability to rate your app using the 1 to 5 star system and to add an optional comment. Once submitted, the review is sent to the Play Store and eventually displayed.
# Android Only
# Google Play In-App Review API
[![N|Solid](https://developer.android.com/images/google/play/in-app-review/iar-flow.jpg)](https://developer.android.com/guide/playcore/in-app-review)
# Getting Started
```sh
$ npm install react-native-in-app-review
```
# Usage
```sh
import InAppReview from 'react-native-in-app-review';
```
```javascript
InAppReview.RequestInAppReview();
```
# When to request an in-app review
Follow these guidelines to help you decide when to request in-app reviews from users:
* Trigger the in-app review flow after a user has experienced enough of your app or game to provide useful feedback.
* Do not prompt the user excessively for a review. This approach helps minimize user frustration and limit API usage (see the section on quotas).
* Your app should not ask the user any questions before or while presenting the rating button or card, including questions about their opinion (such as “Do you like the app?”) or predictive questions (such as “Would you rate this app 5 stars”).
# Quotas
To provide a great user experience, Google Play enforces a quota on how often a user can be shown the review dialog. Because of this, calling a launchReviewFlow method might not always display a dialog. For example, you should not have a call-to-action option (such as a button) to trigger a review as a user might have already hit their quota and the flow won’t be shown, presenting a broken experience to the user.
# Device requirements
In-app reviews only work on the following devices:
* Android devices (phones and tablets) running Android 5.0 (API level 21) or higher that have the Google Play Store installed.
* Chrome OS devices that have the Google Play Store installed.
# Please Note, Test using the Google Play Store
* In-app reviews require your app to be published in Play Store. However, you can test your integration without publishing your app to production using either internal test tracks or internal app sharing.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc