Skip to content

Ask for review with following Apple's Human Interface Guidelines

License

Notifications You must be signed in to change notification settings

stevenselcuk/react-native-ask-for-review

Repository files navigation

react-native-ask-for-review

Ask for ⭐️⭐️⭐️⭐️⭐️ nicely!

This React Native package basically triggers a system-provided rating & review prompt with following Apple's practices.

For more information:

Relevant Human interface guideline

Requesting App Store Review Documentation

📦 How to install

npm install react-native-ask-for-review --save

or

yarn add react-native-ask-for-review

then

cd ios && pod install and run your project 🔥 This step probably works. If not please proceed 👇🏻

🧠 How to use

import AskForReview from 'react-native-ask-for-review';

// Call it in your App.js
AskForReview();

React Native <= 0.60

Manually link the package.

react-native link react-native-ask-for-review

Run pod install in the ios/ directory

Manual installation for iOS

If you can't use use_frameworks! use this step.

Install the package and create a Bridging Header file

Add a new file to Xcode (File > New > File), then select “Source” and click “Swift File“.

Name it anything you want. Select "Yes" when asked if you want to create a Bridging Header File.

Delete everything in the new Swift file.

Run pod install in the ios/ directory

Android

No android for now. Sorry. 👉🌼

🗺 Road Map

  • Solution for Android side 🤔