Open josephfeleke opened 3 years ago
Try use ignoreNativeDialog: Platform.isAndroid,
instead of ignoreNativeDialog: false,
.
It will follow the platform that you used.
Try use
ignoreNativeDialog: Platform.isAndroid,
instead ofignoreNativeDialog: false,
. It will follow the platform that you used.
Thank you for your replay, i was thinking that no one would replay to this issue and I completely gave up on this plugin. Ok now let me try what you suggested and ill lett you know what i got.
@josephfeleke You should also put your code inside a PostFrameCallback
:
@override
void initState() {
super.initState();
WidgetsBinding.instance.addPostFrameCallback((_) {
// Show Rate My App here.
});
}
Describe the bug I have implemented the code where it shows the simple dialog that asks the user if they want to rate the app, when i run the app on ios phone it shows the native rating dialog but whenever i run the app on android nothing comes up.
This is how i implemented the code, i commented out // if (rateMyApp.shouldOpenDialog) { just so the dialog would show at the start of the app
Expected behavior I was expecting to see the "Rate this app" dialog when my app runs and when user clicked the rate app button to open tha native in app rating dialog on android but the dialog that asks the user to rate my app is not showing.
This was what i wanted to see when my app runs:
Screenshots This is what its showing on ios simulator
And nothing is showing up on android