dpa99c / cordova-launch-review

Cordova/Phonegap plugin for iOS and Android to assist in leaving user reviews/ratings in the App Stores
71 stars 26 forks source link

App rating dialog takes a bit of time to appear #15

Closed sneko closed 5 years ago

sneko commented 5 years ago

I'm submitting a ... (check one with "x"):

Bug report

Current behavior:

When I'm using the plugin feature of showing the app rating dialog, the first time it takes a few seconds to appear. And the following attempts are almost instantaneous.

Expected behavior:

Being almost instantaneous from the first attempt.

Note: I'm connected to Wifi so the problem should not be something about downloading remote information.

Steps to reproduce:

Environment information

I'm using an iPhone 6 with iOS 12.2

Thank you @dpa99c , you've done a great job :)

dpa99c commented 5 years ago

This plugin's app rating dialog call is just a very thin wrapper around the native SKStoreReviewController requestReview method which it calls to invoke the ratings dialog. The delay is caused by the iOS StoreKit framework while it carries out async comms with the Apple Storekit servers.

Therefore there's nothing that can be done by this plugin (or any native app code) to reduce that delay.