A Flutter plug-in helps to install iOS and Android apps.
It is not uncommon that you may want to ask a user to install another app within your app. What you need to do here is to prepare a set of iOS app ID on App Store, and Android package name.
For example, if you want to lead your customers to install KKBOX, you need to create an app set like:
var app = AppSet(); app.iosAppId = 300915900; app.androidPackageName = 'com.skysoft.kkbox.android';
Then call the plug-in.
On iOS, the plug-in calls SKStoreProductViewController, while it creates an activity to open a "market://" URL on Android.
That's all. Enjoy!
Demonstrates how to use the flutter_install_app_plugin plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: flutter_install_app_plugin: ^0.1.2
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.2||Mar 19, 2019|
|0.1.1||Oct 5, 2018|
|0.1.0||Sep 27, 2018|
|0.0.1||Sep 27, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on May 17, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.