amrita-repository / android-app

The must-have app for an Amritian.
http://bit.ly/amritarepo
Apache License 2.0
13 stars 13 forks source link

Use in-app ratings API #72

Closed rajkumaar23 closed 10 months ago

rajkumaar23 commented 4 years ago

https://android-developers.googleblog.com/2020/08/in-app-review-api.html?m=1

swayangjit commented 4 years ago

@rajkumaar23 Can you specify where you want to show the in app rating popup?

rajkumaar23 commented 4 years ago

@swayangjit So, there are 2 places this popup is required 1) https://github.com/amrita-repository/android-app/blob/f32e8f64e5c1e5ffcc05e541bb1fc839348ab49c/app/src/main/java/in/co/rajkumaar/amritarepo/activities/LaunchingActivity.java#L478 2) And when AboutActivity is opened, pop this up.

In both cases, ensure that this popup doesn't come after the user has submitted the review once. In the side navbar, you can use the existing behaviour (redirect to store) in case the review is already submitted.

Let me know if you have any more queries :)