britannio / in_app_review

A Flutter plugin for showing the In-App Review/System Rating pop up on Android, IOS, and MacOS. It makes it easy for users to rate your app.
327 stars 82 forks source link

Is is possible add "only show the app store page" (not review) #22

Closed dodatw closed 2 years ago

dodatw commented 3 years ago

This is a very useful tool. Is it possible to add parameters that can go to the app store page? Just like writeReview in https://github.com/Purus/launch_review#ios-specifics

If it is, I don't need to add two libraries.

Doda

britannio commented 3 years ago

Like https://github.com/britannio/in_app_review#openstorelisting but without requesting a review?

dodatw commented 3 years ago

YES!

dodatw commented 3 years ago

One more request, Can we set androidAppId ? That's mean openstorelisting not only can go to this app store page. it also can go to other app store page.

britannio commented 3 years ago

Have you tried it out? Is there any reason why you want to open the store listing but without also presenting a popup within the IOS App Store?

dodatw commented 3 years ago

We want to show some information let user know in store page.

NickanBagherpour commented 3 years ago

Hi store_redirect package has method like StoreRedirect.redirect(androidAppId: "com.x.y", iOSAppId: "585027354"); that redirect users to an app page in Google Play Store, etc ... this is very useful for updating and showing some info

btw: sorry for my English

rocboronat commented 3 years ago

@NickanBagherpour just for the info, in case you didn't try it. On Android, openStoreListing shows the app page on Google Play. It doesn't need the package name because it's just the app's one. You would need to have that parameter only if you want to open another app's page, which is not usual.

edocabhi commented 3 years ago

One way to achieve this with the current implementation would be as follows.

if (Platform.isIOS) {
  launch("https://apps.apple.com/app/1010101010"); //replace with your app_Id
} else if (Platform.isAndroid) {
  InAppReview _inAppReview = InAppReview.instance;
   _inAppReview.openStoreListing();
}

Here launch() method is used to launch any URL using url_launcher

However, supporting the requested feature is also something I would like to see.

britannio commented 3 years ago

@edocabhi You only need to use isAvailable() before requestReview().

edocabhi commented 3 years ago

@britannio Thanks for the suggestion. Updated snippet.

derDeno commented 2 years ago

Had the same problem and added it in a fork. See this response here

https://github.com/britannio/in_app_review/issues/53#issuecomment-1294345897

britannio commented 2 years ago

Closing as a duplicate of https://github.com/britannio/in_app_review/issues/22