Socket
Socket
Sign inDemoInstall

react-native-store-review

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-store-review

Rate on App Store directly in your React Native app


Version published
Weekly downloads
15K
decreased by-2.58%
Maintainers
1
Install size
17.9 kB
Created
Weekly downloads
 

Readme

Source

react-native-store-review

This module exposes the native iOS APIs to ask the user to rate the app in the iOS App Store directly from within the app (requires iOS >= 10.3).

Rating Dialog

Installation

$ yarn add react-native-store-review

Mostly automatic installation

$ react-native link react-native-store-review

Manual installation

  1. In Xcode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-store-review and add RNStoreReview.xcodeproj
  3. In Xcode, in the project navigator, select your project. Add libRNStoreReview.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)

Using CocoaPods

Add the following to your Podfile and run pod install:

pod 'RNStoreReview', :path => '../node_modules/react-native-store-review/ios'

Usage

import * as StoreReview from 'react-native-store-review';

// This API is only available on iOS 10.3 or later
if (StoreReview.isAvailable) {
  StoreReview.requestReview();
}

Keywords

FAQs

Last updated on 02 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc