How to add In App Review in your application

Prerequisites:

  • Upgrade node js, yarn, npm, npx to their latest version
  • install react-native CLI if is not there
    • npm install –global react-native-cli

Run following command on your console:

to link the react-native-in-app-review library.

Changes in react native repository:

  • Note : this will be already added to react-native-skelton, please download it from link section at the top.
  • android/settings.gradle
  • android/app/build.gradle
  • android/app/src/main/java/your/package/MainApplication.java
  • android/App.js


Changes In web view:

  • now when ever you want to trigger the in-app review popup to user you can use,

  •  
Updated on Feb 21, 2022