Overview
The react-native-store-review module provides access to native APIs that allow developers to prompt users to rate their app in the iOS App Store or Google Play store directly from within the app. This feature is available for iOS versions 12.4 and above, as well as Android 5.0 with Google Play store installed.
Features
- Native APIs Integration: Access native APIs for prompting users to rate the app within the app itself.
- User Journey Integration: Allow rating request as part of the user journey upon completing a task.
- Fallback Option: Ability to redirect users to the app store for review in case native APIs are not supported.
Installation
To install the react-native-store-review module, follow these steps:
Install the package using npm:
npm install react-native-store-reviewFor iOS, add LSApplicationQueriesSchemes to Info.plist with itms-apps as one of the parameters. For example:
<key>LSApplicationQueriesSchemes</key> <array> <string>itms-apps</string> </array>Ensure the module is imported into your project where needed.
Summary
The react-native-store-review module simplifies the process of requesting app ratings from users by providing access to native APIs for direct integration within the app. By following the installation guide and considering the fallback options, developers can seamlessly incorporate this functionality into their user journey. Troubleshooting tips provided in the documentation can help address common issues related to language localization and testing environments.