launchStore() not launching Play Store
samueladekunle opened this issue · comments
I tried launching the Play Store, after tapping the "RATE" button displayed by showRateDialog
, but instead of launching the Google Play Store, nothing shows up.
Here is a snippet of code:
_rateMyApp.showRateDialog(
context,
listener: (button) {
switch (button) {
case RateMyAppDialogButton.rate:
print('Launch store');
_rateMyApp.launchStore().then((result) {
print('Result $result');
});
break;
default:
}
return true;
},
);
I already provided the app id to the googlePlayIdentifier
argument, at the point of instantiating _rateMyApp
.
print('Result $result');
, prints Result: LaunchStoreResult.storeOpened
, but the Play Store does not come up.
What is the way forward on this issue?