In-App Ratings / Reviews for iOS +10.3


#1

Hey Guys,

I’d like to share with you a plugin that I built for the new in app reviews introduces for iOS +10.3.

SKStore​Review​Controller: https://developer.apple.com/reference/storekit/skstorereviewcontroller?language=objc Controls the process of requesting App Store ratings and reviews from users.

Overview Use the request​Review method to indicate when it makes sense to ask the user for ratings and review within your app.

request​Review Tells StoreKit to ask the user to rate or review your app, if appropriate.

Installation

cordova plugins add https://github.com/omaxlive/com.omarben.inappreview

How-to use example in your cordova project:

inappreview.requestReview(success, failure);

More detailed example:

var requestReview = function(){
      try{
        var success = function() {
            console.log("success");
        }
        var failure = function() {
            console.log("Error calling plugin");
        }
        inappreview.requestReview(success, failure);
      }catch(e){
        console.log("catch: "+e);
      }
    };

More information about the use of in app review:

Apple is also limiting the amount of times developers can ask customers for reviews. Developers will only be able to bring up the review dialog three times a year. If a customer has rated the app, they will not be prompted again. If a customer has dismissed the review prompt three times, they will not be asked to review the app for another year.

Github url: https://github.com/omaxlive/com.omarben.inappreview


#2

Hi Omar,

Thank you for this plugin!

I have one question - is it because I’m testing in debug mode that the Submit button is grayed out? Is that something your plugin figures out by itself or is this what Apple provides natively (same as the fact that they allow you to show it only 3 times)?

Thanks,
Nikola


#3

Hi,
npm @ionic-native/in-app-review - isn’t found :confused: