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

rating() function returns no other results than "requested" #18

Closed rafaellop closed 4 years ago

rafaellop commented 4 years ago

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

Bug report

Current behavior:

The LaunchReview.rating() never returns other results than the requested result. No shown or dismissed is ever called.

Expected behavior:

The LaunchReview.rating() should work as described in the readme and returns different results for different scenarios.

Steps to reproduce:

Call the following code and observe console for the result returned when dealing with the rating window:

LaunchReview.rating( function(result) {
  console.log('result:', result);
}, function(err){
 console.log('error:', err);
})

Environment information

cordova-launch-review 3.1.1

XCode 11.3

Runtime issue

XCode 11.3

dpa99c commented 4 years ago

Since Rating functionality involves App Store APIs, it does not work on the iOS Simulator and must be tested on a real iOS device which is signed in to the App Store with a real Apple ID

julianCast commented 3 years ago

The same is happening to me on a real device, but android, it says successfully opened dialog, but nop, no rating dialog. Ionic 4 Android 10