Skyost / RateMyApp

This plugin allows to kindly ask users to rate your app if custom conditions are met (eg. install time, number of launches, etc...).

Home Page:https://pub.dev/packages/rate_my_app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] showRateDialog on iOS, parameters not taken into account

fvisticot opened this issue · comments

Describe the bug
If I use showRateDialog on iOS and try to fill parameters like title, message, listener
It seems those parameters are not taken into account. By example listener is not fired

To Reproduce
Steps to reproduce the behavior:

  1. Start the RateDialog using the RateMyAppBuilder widget

Expected behavior
listener are fired to manage RateMyAppDialogButton.rate / RateMyAppDialogButton.later

Just pass ignoreIOS to true or see #1.

Does not work even with ignoreIOS set to false.
I have also tested your sample code on the iOS. using both builder and RateMyApp Widget.
In any case on iOS the title, message and other parameters are taken into account.
Only the default ioS Rating dialog is displayed with default title / buttons.

What are you calling "default ioS Rating dialog" ? Do you mean the native iOS rating dialog ?

yes

Oh sorry, I meant ignoreIOS set to true (edited my previous comment). Be warned tho, this is not recommended by Apple.

tx for the support.
I think documentation should be updated to clearly explain what is possible for iOS and Android.
To be clear, i think iOS is more restrictive and allows only "standart review Dialog" and thats all.

In case of iOS (ignoreIOS set to FALSE) do you think we can retrieve the userRating with a listener ?
If i want to redirect with a review page if rating is greater than 4 how to do that ?

I think documentation should be updated to clearly explain what is possible for iOS and Android.

Yeah, I may need to clarify some points.

In case of iOS (ignoreIOS set to FALSE) do you think we can retrieve the userRating with a listener ?

Sadly, it's not possible as Apple is not providing any callback on their dialog.