How to Open AppStore/PlayStore URL In Flutter??

3 min read
How to Open AppStorePlayStore URL In Flutter
How to Open AppStorePlayStore URL In Flutter

While Building a flutter mobile application some time user needs to redirect to the Specific URL So In today’s article, we will see How to Open the AppStore/PlayStore URL In Flutter.

Are you ready for the same? Let’s get into the same.

How to Open AppStore/PlayStore URL In Flutter??

You can use this Library,

Basically, To use this plugin, add launch_review as a dependency in your pubspec.yaml file.

launch_review: ^1.0.1

To use :

import 'package:launch_review/launch_review.dart';

Then invoke the static launch method of LaunchReview anywhere in your Dart Code. If no arguments are provided, it will consider the current package.


To open the App Store page for any other applications, you can pass the app Id.

LaunchReview.launch(androidAppId: <package name>,
                iOSAppId: <ios app id>);

You can also try with below:

Super simple. To use this plug-in, just write the package name (app id) on your dart code like this.

OpenAppstore.launch(androidAppId: "com.facebook.katana&hl=ko", iOSAppId: "284882215")

You can use the url_launcher package for opening the appstore/playstore as follows :

_launchURL(String url) async {
         if (await canLaunch(url)) {
             await launch(url);
         else {
             throw 'Could not launch $url';

You can also do something similar in a flutter:

import 'package:url_launcher/url_launcher.dart';

try {
  launch("market://details?id=" + appPackageName);
} on PlatformException catch(e) {
    launch("" + appPackageName);        
} finally {
  launch("" + appPackageName);        

The exception/catch does not seem to work for some reason so adding ‘finally’ did the trick.

You can also try the store_launcher plugin.



Thanks for being with us on a Flutter Journey !!! Lots of amazing content coming up your way!! Stay Tuned!!

Tell us what methods you have used in the past for these problems!!

So in this article, we have been through how to Open the AppStore/PlayStore URL In Flutter.

Also, If you still have doubts about Flutter Development !!! Just let us know, We would love to assist you 馃檪

Keep Learning !!! Keep Fluttering !!! Stay Connected !!!

Don’t forget to leave your valuable feedback in the comments!!! It keeps the enthusiasm going 馃檪

Flutter Agency聽is our portal Platform dedicated to Flutter Technology and聽Flutter Developers. The portal is full of cool resources from Flutter like聽Flutter Widget聽Guide,聽Flutter Projects,聽Code libs聽and etc.

Flutter Agency is one of the most popular online portal dedicated to Flutter Technology and daily thousands of unique visitors come to this portal to enhance their knowledge of聽Flutter

Leave a Reply