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 2.1.7 to 2.1.8

13

package.json
{
"name": "react-native-in-app-review",
"version": "2.1.7",
"version": "2.1.8",
"description": "react native in app review, to rate on Play store, App Store, Generally, the in-app review flow (see figure 1 for play store, figure 2 for ios) 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 for play store only. Once submitted, the review is sent to the Play Store or App store and eventually displayed.",

@@ -28,2 +28,13 @@ "main": "index.js",

],
"files": [
"android/src/main/AndroidManifest.xml",
"android/src/main/java/",
"android/build.gradle",
"android/",
"ios/",
"!ios/build/",
"react-native-in-app-review.podspec",
"README.md",
"index.d.ts"
],
"repository": {

@@ -30,0 +41,0 @@ "type": "git",

35

README.md

@@ -21,5 +21,14 @@ # react-native-in-app-review

# Getting Started
## Installation
If you use Expo to create a project [you'll just need to](https://facebook.github.io/react-native/docs/getting-started#caveats) "[eject](https://docs.expo.io/versions/latest/expokit/eject)".
```
expo eject
```
Install React Native In App Review package
```sh

@@ -29,5 +38,6 @@ $ npm install react-native-in-app-review

```
OR
``` sh
OR
```sh
$ yarn add react-native-in-app-review

@@ -42,7 +52,6 @@ ```

Don't forget to run ```npx pod-install``` after that !
Don't forget to run `npx pod-install` after that !
- If you do not have CocoaPods already installed on your machine, run ```sudo gem install cocoapods``` to set it up the first time, after that run ```npx pod-install```
- If you do not have CocoaPods already installed on your machine, run `sudo gem install cocoapods` to set it up the first time, after that run `npx pod-install`
**React Native 0.59 and below**

@@ -131,6 +140,4 @@

```javascript
// This package is only available on android version >= 21 and iOS >= 10.3
// This package is only available on android version >= 21 and iOS >= 10.3
// Give you result if version of device supported to rate app or not!

@@ -168,3 +175,3 @@ InAppReview.isAvailable();

_____________________________________
---

@@ -177,6 +184,4 @@ # + iOS Notes:

# When to request an in-app-review
# When to request an in-app-review
- Ask for a rating only after the user has demonstrated engagement with your app. For example, prompt the user upon the completion of a game level or productivity task. Never ask for a rating on first launch or during onboarding. Allow ample time to form an opinion.

@@ -192,5 +197,4 @@

- When you call this method while your app is still in development mode, a rating/review request view is always displayed so that you can test the user interface and experience. However, this method has no effect when you call it in an app that you distribute using TestFlight.
- When you call this method while your app is still in development mode, a rating/review request view is always displayed so that you can test the user interface and experience. However, this method has no effect when you call it in an app that you distribute using TestFlight.
## How to test your code

@@ -209,3 +213,2 @@

};
```

Sorry, the diff of this file is not supported yet

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