Closed randnetdd closed 3 years ago
Looks like the underlying iOS implementation for the native in-app review dialog has changed in recent iOS versions which is causing this issue. I'll update the code to check for the SKStoreReviewPresentationWindow class name but also leave the check for the MonitorObject class name in order to support older iOS versions.
Fix has been published in v4.0.1
Thank you!
Bug report
CHECKLIST
[x] I have read the issue reporting guidelines
[x] I confirm this is a suspected bug or issue that will affect other users
[x] I have reproduced the issue using the example projector provided the necessary information to reproduce the issue.
[x] I have read the documentation thoroughly and it does not help solve my issue.
[ ] I have checked that no similar issues (open or closed) already exist.
Current behavior:
If the rating dialog is displayed successfully on iOS, the result will not be returned.
Expected behavior:
result returns show if rating dialog is displayed successfully on iOS
Steps to reproduce:
I haven't written any special code
Screenshots
Environment information
Runtime issue
iOS build issue:
Related code:
Console output
console output
``` [Log] Running cordova-ios@6.1.1 (cordova.js, line 1413) [Log] result: requested (cordova.js, line 1413) [Log] Requested display of rating dialog (cordova.js, line 1413) [Warning] Rating dialog was not shown (after 5000ms) (cordova.js, line 1413) ```**Other information:** When the rating dialog is displayed It has been confirmed that the windowDidBecomeVisibleNotification of LaunchReview.m is called. At this time, notification.object was not MonitorObject but SKStoreReviewPresentationWindow was returned. It seems to be related to the issue below https://github.com/dpa99c/cordova-launch-review/issues/18