flutter_install_app_plugin 0.2.1 copy "flutter_install_app_plugin: ^0.2.1" to clipboard
flutter_install_app_plugin: ^0.2.1 copied to clipboard

outdated

A Flutter plug-in helps to install other iOS and Android apps on AppStore, Google Play or other stores.

flutter_install_app_plugin #

A Flutter plug-in helps to install iOS and Android apps.

Usage #

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.

    FlutterInstallAppPlugin.installApp(app);

On iOS, the plug-in calls SKStoreProductViewController, while it creates an activity to open a "market://" URL on Android.

That's all. Enjoy!

17
likes
0
pub points
83%
popularity

Publisher

verified publisherzonble.net

A Flutter plug-in helps to install other iOS and Android apps on AppStore, Google Play or other stores.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_install_app_plugin