-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unable to have the rating() function working for android #25
Comments
Please try building and running the example project app which is a known working codebase for reference. |
If I run the latest version of the plugin in the example project with the package ID of one of my own apps, it works fine: So if you're sure the app package ID is valid/exists in the Play Store, then the problem must be in your development environment. However I'm closing this as I'm satisfied from testing that this plugin functionality is working correctly - I also have it deployed in live apps and see it being used by real Android users. |
Even if it's an environment issue (which is a guess), it would be better to let it open in case another developer have the same problem and can help, don't you think ? |
Ok, i tried with a fresh installation of cordova (10.0.0), and android studio on another computer, and the example still doesn't work on android. |
@dpa99c - Something def broke. I have two apps. App-1 is still using LaunchReview @3.1.1 and the external App Store window launches just find. In the newer app, App-2, I am using LaunchReview @4.0.0, but it has the same/identical functions as App-1. But on the newer App-2, but its not prompt the dialog box and the external launch is not opening. I am getting same behavior on two different Android devices running, Android 7 and Android 10. I haven't tested on iOS yet. Specifically, I am seeing:
Console is outputting:
Its not opening the dialog box...and with a rating As a temp work around on App-2, I had to add a result condition to pop the App Store review screens:
|
@dpa99c - is 4.0.0 specifically for Android 11 thus the updated .rating() returning a |
@dpa99c - just took a look at the code again. I see the Advanced .rating() has changed from previous version. I updated my code but the problem is still happening because To get it to work, still had to modify with the following - but this works on Android 7 - 10, I have not been able to test it on Android 11 and am thinking my code workaround would cause the in-app dialog launch AND the external app store rating to launch.
|
Bug report
CHECKLIST
I have read the issue reporting guidelines
I confirm this is a suspected bug or issue that will affect other users
Current behavior:
I try to integrate the plugin in my ionic / cordova application.
I don't have any problem with iOS, I get the popup with the app icon and the 5 stars to fill. However, i can't get it with 2 android devices. The isSupportedRating() returns true, but when i run this code (the same that is working for iOS), nothing happens, but i get the success log in the console (with the param variable 0). I put the code below.
It seems it's a configuration issue, or an ionic incompatibility, because there's no other bugs reported about that, and there's no reason it doesn't work. The launchReview function works perfectly, this is why I don't think it's a
I tried to look at the Android in-app review documentation, and I checked the requirements :
Expected behavior:
Showing the android review popup in the app.
Environment information
9.0.0 (cordova-lib@9.0.1)
android 8.1.0
Runtime issue
Android build issue:
v10.16.0
4.10.3 buildOutputCleanup vcs-1
28
Related code:
Console output:
Great job for the lib, and I hope anyone will be able to help me :)
The text was updated successfully, but these errors were encountered: