Subscribe for tips on developing apps with Angular and Ionic

How To Implement In-App Ratings For Ionic 2+ Apps On iOS 10.3+

Menu

Since the release of iOS 10.3, it's been possible for developers to ask for reviews directly inside their apps. This means the user never has to leave the app which is a much better user experience than before, where they were had to be sent to the App Store to leave a review.

In this tutorial, I'll show you how to implement this into your Ionic 2+ app with a Cordova plugin. This is going to be a short tutorial because Apple has made it super-easy to implement this, but be sure to check the limitations section at the end of this post.

This tutorial is for Ionic 2+ apps, up-to-date with Ionic 3.5.3.

Download complete app source code

Enter your email address to download the source code for this tutorial.

Limitations

As you can see Apple has made it very easy to implement this feature into your app. However, they've also put some limitations on how often a rating can be requested.

In development mode, the rating view will always be displayed whenever requestReview is called (see Apple docs). But when the app is published, it will only be displayed max. 3 times a year. Once a user has given a rating, they will never see the prompt again.

Before iOS 11, ratings were always for a specific version of an app, so when you updated your app the ratings for the previous versions were lost and you'd have to ask for a rating again.

This will change in iOS 11, ratings will be carried over to updated versions of the app.

Use the provided API to prompt users to review your app; this functionality allows customers to provide an App Store rating and review without the inconvenience of leaving your app, and we will disallow custom review prompts.

Download complete app source code

Enter your email address to download the source code for this tutorial.