capacitor-community / in-app-review

Let users rate your app using native review app dialog for both Android and iOS.
MIT License
163 stars 20 forks source link

Return Review Value #43

Closed daniell0gda closed 1 year ago

daniell0gda commented 1 year ago

Hello,

I can see in code that after closing review dialog you wrote: " // The flow has finished. The API does not indicate whether the user // reviewed or not, or even whether the review dialog was shown. Thus, no // matter the result, we continue our app flow. call.resolve(); " But why you didn't return reviewInfo (of type ReviewInfo) ? I was thinking I would like to know if user picked low rating so I could know that I would like to try asking the same user after some time...

Is this rating on modal and then on store the same? Probably not right? but still I would like to know what he picked on modal.

Nodonisko commented 1 year ago

I don't think something like that is supported by system API.

Nodonisko commented 1 year ago

https://developer.android.com/guide/playcore/in-app-review/kotlin-java#java - as you can see here ReviewInfo is some internal info that is not returned from flow itself but it is used to launch flow, so there is no point returning it because there is nothing useful.

I think it's done on purpose that you are not able to find out which review user left to avoid for example punishing/rewarding user for review.