Rate on App/Play Store directly in your React Native app
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.
To install the react-native-store-review module, follow these steps:
Install the package using npm:
npm install react-native-store-review
For 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.
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.