Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review pop up doesn't appear on Android in production #68

Open
alan2030 opened this issue Sep 13, 2022 · 11 comments
Open

Review pop up doesn't appear on Android in production #68

alan2030 opened this issue Sep 13, 2022 · 11 comments

Comments

@alan2030
Copy link

alan2030 commented Sep 13, 2022

For some reason, review pop up doesn't appear on Android in production. It worked in internal testing, but not in production. ios version has already received 3 times more ratings than in the last 3 years, meaning that it works.
Attaching logs. If someone could tell me what is wrong, I would highly appreciate that. Tested that on clean device with new google account.

android-debug.log

Thank you!

Edit:
Seems like something to do with below?

09-13 18:40:50.379  4327  4348 E Parcel  : Class not found when unmarshalling: com.google.android.play.core.review.d
09-13 18:40:50.379  4327  4348 E Parcel  : java.lang.ClassNotFoundException: com.google.android.play.core.review.d

Edit2:
Works on SOME android devices. 10x less ratings in comparison to iOS, although distribution is the same.

Screen Shot 2022-10-25 at 4 30 51 pm

@britannio
Copy link
Owner

Hey, if it works in internal testing then it will work in production, likely just once though due to quota mentioned here: https://developer.android.com/guide/playcore/in-app-review#quotas

@britannio
Copy link
Owner

Glad to hear that it's helped your iOS ratings!

@alan2030
Copy link
Author

alan2030 commented Sep 13, 2022

@britannio Thank you for quick response! Indeed I am very happy with ios. Rating went up from 2.2 to 4.0 in just a few days. However android still stuck at 2.1 :( I didn't use up any quota on a clean device though (logs were taken from it)

So below is normal during production?
09-13 18:40:50.379 4327 4348 E Parcel : Class not found when unmarshalling: com.google.android.play.core.review.d 09-13 18:40:50.379 4327 4348 E Parcel : java.lang.ClassNotFoundException: com.google.android.play.core.review.d

@britannio
Copy link
Owner

Have you got this file android/app/proguard-rules.pro?

Maybe adding the following to it will fix the issue.

-keep class com.google.android.play.core.review.** { *; }
-keep class com.google.android.gms.tasks.** { *; }

@alan2030
Copy link
Author

alan2030 commented Oct 6, 2022

Have you got this file android/app/proguard-rules.pro?

Maybe adding the following to it will fix the issue.

-keep class com.google.android.play.core.review.** { *; }
-keep class com.google.android.gms.tasks.** { *; }

Thank you for reply. I will add this to my next release within a month. I think that review prompt works only on some android devices. For ios I got 400+ ratings after the update, but only 34 on Android. Distribution between platforms is very similar. I know that its working on some devices on Android, because I used to get only a 2-3 ratings a month, but got 34 in the last month.

@alan2030
Copy link
Author

@bri

Have you got this file android/app/proguard-rules.pro?
Maybe adding the following to it will fix the issue.

-keep class com.google.android.play.core.review.** { *; }
-keep class com.google.android.gms.tasks.** { *; }

Thank you for reply. I will add this to my next release within a month. I think that review prompt works only on some android devices. For ios I got 400+ ratings after the update, but only 34 on Android. Distribution between platforms is very similar. I know that its working on some devices on Android, because I used to get only a 2-3 ratings a month, but got 34 in the last month.

@britannio I don't appear to have this file. Should I just create an empty file and add below to it?

-keep class com.google.android.play.core.review.** { *; }
-keep class com.google.android.gms.tasks.** { *; }

@joknjokn
Copy link

We have also been wondering why we get so few Android-reviews (but many iOS reviews). @britannio, did you/someone test the proguard fix, or is it a guess?

@britannio
Copy link
Owner

We have also been wondering why we get so few Android-reviews (but many iOS reviews). @britannio, did you/someone test the proguard fix, or is it a guess?

This hasn't been tested as I'm unable to reproduce the issue.

@ggsant
Copy link

ggsant commented Dec 16, 2022

Make sure you are signed in to a gmail account on the play store for the rating dialog to appear

@bksubhuti
Copy link

I had this problem.. because I reviewed my own app a long time ago. It seems that this triggered my "quota". Internal app sharing did work however. I will file an issue related to knowing when the calls fail.
if (await inAppReview.isAvailable()) { // does not really mean the next call will succeed
await inAppReview.requestReview(); // it would be good if there were some exit codes that could be read.

@mathrocco
Copy link

mathrocco commented Sep 15, 2023

Take a look into this comment
#97 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@mathrocco @alan2030 @joknjokn @bksubhuti @britannio @ggsant and others