Closed shantiwebsolution closed 4 years ago
@shantiweb Can you confirm that you're following the testing instructions correctly? https://github.com/britannio/in_app_review#android-1
I have exactly the same issue.
if (await inAppReview.isAvailable()) {
await inAppReview.requestReview();
} else {
await inAppReview.openStoreListing(appStoreId: '1526425219');
}
I managed to see the popup maybe once, but that's all. You can see exactly above code in action if you download my app https://well-spoken.app . I came up with some lame walkaround (you can see it when you download my app), but it's not the ideal solution.
@chris-rutkowski I certainly didn't make this clear enough when I first released this plugin but the system API's are not designed to be used in this way. On Android, after the first attempt at showing the pop-up, there's no guarantee that it will be shown again and this is an intentional limitation likely to prevent spam or misuse. https://developer.android.com/guide/playcore/in-app-review#quotas
Please follow the guidelines as stated here: https://developer.android.com/guide/playcore/in-app-review#when-to-request
Also, I'm loving the app UX!
As a side note, this quota is not enforced when running the app via internal app sharing or internal testing provided by the Google Play Store as stated here: https://developer.android.com/guide/playcore/in-app-review/test#test-play-store
Thanks for compliment. So our code is correct, but Google and Apple is throating it, that's understandable. Is there any callback possible to understand what happens on the screen? I tried to wrap code in try catch but to no avail.
Thanks for compliment. So our code is correct, but Google and Apple is throating it, that's understandable. Is there any callback possible to understand what happens on the screen? I tried to wrap code in try catch but to no avail.
@chris-rutkowski
Unfortunately not, the Google and Apple API don't let us know if the pop up was shown hence making it unsuitable for a permanent button. You can use the following code for your 'Rate us in the Play Store' button:
await inAppReview.openStoreListing(appStoreId: '1526425219');
For your app, you could use the following code after a certain number of words have been learnt?
if (await inAppReview.isAvailable()) {
await inAppReview.requestReview()
}
@shantiweb I haven't received a response from you so I'm closing this issue.
Sorry, I was sick for last week. This works perfectly.
Only thing is we can not test in development. But can test in beta tests .
System Review Pop up is not being displayed. I have wrote following code inside initState() function.
Following is my debug log