Gathering detailed insights and metrics for react-native-rate-app
Gathering detailed insights and metrics for react-native-rate-app
Gathering detailed insights and metrics for react-native-rate-app
Gathering detailed insights and metrics for react-native-rate-app
react-native-rate
React Native Rate is a cross platform solution to getting users to easily rate your app.
react-native-in-app-review
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
react-native-store-review
Rate on App Store or Google Play directly in your React Native app
app-upgrade-react-native-rate-sdk
SDK to ask user to rate app.
React Native module for In App Rating on Android and iOS
npm install react-native-rate-app
Typescript
Module System
Node Version
NPM Version
44.3
Supply Chain
55
Quality
77.8
Maintenance
50
Vulnerability
94.1
License
TypeScript (51.7%)
Kotlin (24.86%)
Ruby (9.04%)
Swift (7.03%)
JavaScript (5.23%)
Objective-C++ (1.43%)
Objective-C (0.71%)
Total Downloads
18,324
Last Day
6
Last Week
1,023
Last Month
5,324
Last Year
18,324
MIT License
143 Stars
274 Commits
6 Forks
2 Watchers
2 Branches
3 Contributors
Updated on Jun 15, 2025
Minified
Minified + Gzipped
Latest Version
1.3.5
Package Id
react-native-rate-app@1.3.5
Unpacked Size
83.07 kB
Size
21.05 kB
File Count
62
NPM Version
10.9.2
Node Version
22.14.0
Published on
Apr 02, 2025
Cumulative downloads
Total Downloads
Last Day
50%
6
Compared to previous day
Last Week
43.5%
1,023
Compared to previous week
Last Month
-25%
5,324
Compared to previous month
Last Year
0%
18,324
Compared to previous year
2
A powerful and easy-to-use library for implementing in-app ratings in React Native applications.
1yarn add react-native-rate-app
or
1npm install react-native-rate-app
For Expo projects, you can use the Expo plugin in app.json
1"plugins": [ 2 "react-native-rate-app" 3],
To use the in-app review functionality on iOS, you need to add the StoreKit
framework to your project and update your Info.plist
file.
StoreKit.framework
.To allow your app to open the App Store and handle the in-app review functionality, you need to add the LSApplicationQueriesSchemes
key to your Info.plist
file.
Info.plist
file.itms-apps
stringExample:
1<key>LSApplicationQueriesSchemes</key> 2<array> 3 <string>itms-apps</string> 4</array>
This library will throw an error if something goes wrong during the execution of its methods. Make sure to handle these errors appropriately in your application.
RateApp.requestReview(options)
Requests a review from the user using the native in-app review dialog.
options
(optional): An object containing the following properties:
androidMarket
(optional): The market where the app's review request should be directed on Android. Defaults to AndroidMarket.GOOGLE
. Supported values are:
AndroidMarket.GOOGLE
: Google Play StoreAndroidMarket.SAMSUNG
: Samsung Galaxy StoreAndroidMarket.HUAWEI
: Huawei AppGalleryandroidPackageName
(optional): The package name of the app to request a review for on Samsung Galaxy Store.1const result = await RateApp.requestReview(); 2console.log(result); // true if successful, false otherwise
Please note that the in-app rating functionality for Huawei AppGallery and Samsung Galaxy Store has not been thoroughly tested. While the implementation follows the respective guidelines, we recommend conducting your own tests to ensure compatibility and functionality within your application environment.
To enable in-app reviews for the Huawei AppGallery, ensure that your app is correctly configured with Huawei Mobile Services (HMS). This functionality leverages Huawei In-App Comments mechanism.
To enable in-app reviews for the Samsung Galaxy Store, ensure that your app is correctly configured. You must provide the androidPackageName
specific to the Samsung Galaxy Store. This functionality leverages the Galaxy Store Broadcast mechanism.
requestReview
will return true
even if the rate limits have been reached. For more information, please refer to the official documentation from Apple and Google.Apple Documentation iOS 14+
Apple Documentation iOS 16+
Google Documentation
Below iOS 16 library is using the deprecated SKStoreReviewController and on iOS 16+ it uses the new RequestReviewAction API. Both implementations provide the same functionality and user experience.
RateApp.openStoreForReview(options)
Opens the app store page for the app, allowing the user to leave a review.
1const result = await RateApp.openStoreForReview({ 2 iOSAppId: "your-ios-app-id", // Required on iOS, macOS 3 androidPackageName: "your.android.package.name", // Required on Android 4 androidMarket: AndroidMarket.GOOGLE, // Optional, defaults to GOOGLE 5}); 6console.log(result); // true if successful, false otherwise
The androidMarket
option in RateApp.openStoreForReview
supports the following markets:
AndroidMarket.GOOGLE
: Google Play StoreAndroidMarket.AMAZON
: Amazon AppstoreAndroidMarket.SAMSUNG
: Samsung Galaxy StoreAndroidMarket.HUAWEI
: Huawei AppGalleryYou need to add the LSApplicationQueriesSchemes
key to your Info.plist
file to allow your app to open the App Store.
Info.plist
file.We welcome contributions! Please see our Contributing Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
If you like this project, please consider supporting it by giving it a ⭐️ on GitHub!
No vulnerabilities found.
No security vulnerabilities found.